aboutsummaryrefslogtreecommitdiffstats
path: root/lcc/include/x86/linux/stdarg.h
diff options
context:
space:
mode:
Diffstat (limited to 'lcc/include/x86/linux/stdarg.h')
-rw-r--r--lcc/include/x86/linux/stdarg.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/lcc/include/x86/linux/stdarg.h b/lcc/include/x86/linux/stdarg.h
deleted file mode 100644
index a68f1a9..0000000
--- a/lcc/include/x86/linux/stdarg.h
+++ /dev/null
@@ -1,21 +0,0 @@
-#ifndef __STDARG
-#define __STDARG
-
-#if !defined(_VA_LIST)
-#define _VA_LIST
-typedef char *__va_list;
-#endif
-typedef __va_list va_list;
-
-#define va_start(list, start) ((void)((list) = (sizeof(start)<4 ? \
- (char *)((int *)&(start)+1) : (char *)(&(start)+1))))
-#define __va_arg(list, mode, n) \
- (*(mode *)(&(list += ((sizeof(mode)+n)&~n))[-(int)((sizeof(mode)+n)&~n)]))
-#define _bigendian_va_arg(list, mode, n) (\
- sizeof(mode)==1 ? *(mode *)(&(list += 4)[-1]) : \
- sizeof(mode)==2 ? *(mode *)(&(list += 4)[-2]) : __va_arg(list, mode, n))
-#define _littleendian_va_arg(list, mode, n) __va_arg(list, mode, n)
-#define va_end(list) ((void)0)
-#define va_arg(list, mode) _littleendian_va_arg(list, mode, 3U)
-typedef void *__gnuc_va_list;
-#endif