aboutsummaryrefslogtreecommitdiff
path: root/arch/all/compiler-turbo/bits/stdarg.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/all/compiler-turbo/bits/stdarg.h')
-rw-r--r--arch/all/compiler-turbo/bits/stdarg.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/arch/all/compiler-turbo/bits/stdarg.h b/arch/all/compiler-turbo/bits/stdarg.h
deleted file mode 100644
index 37f9a20..0000000
--- a/arch/all/compiler-turbo/bits/stdarg.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/* ****************************************************************************
- * stdarg.h -- Variable argument list management for Turbo C.
- *
- * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
- *
- * This file is part of the 'all/compiler-turbo' module in libcarrot, an
- * experimental modular libc project.
- *
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
- *
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
- * ************************************************************************* */
-typedef void *__va_list;
-
-/* Open and close a variable argument list. */
-#define __stdarg_va_start(_AP, _PARAM) (void)(_AP = ...)
-#define __stdarg_va_end(_AP)
-
-/* Obtain an argument from the variable argument list. */
-#define __stdarg_va_arg(_AP) (*((_TYPE*)(_AP))++)
-
-/* Copy a variable argument list. */
-#define __stdarg_va_copy(_D, _S) (void)(_D = _S)