summaryrefslogtreecommitdiffstats
path: root/pintos-progos/lib/stdarg.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2012-03-27 11:51:08 +0200
committermanuel <manuel@mausz.at>2012-03-27 11:51:08 +0200
commit4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b (patch)
tree868c52e06f207b5ec8a3cc141f4b8b2bdfcc165c /pintos-progos/lib/stdarg.h
parenteae0bd57f0a26314a94785061888d193d186944a (diff)
downloadprogos-4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b.tar.gz
progos-4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b.tar.bz2
progos-4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b.zip
reorganize file structure to match the upstream requirements
Diffstat (limited to 'pintos-progos/lib/stdarg.h')
-rw-r--r--pintos-progos/lib/stdarg.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/pintos-progos/lib/stdarg.h b/pintos-progos/lib/stdarg.h
deleted file mode 100644
index 32622b5..0000000
--- a/pintos-progos/lib/stdarg.h
+++ /dev/null
@@ -1,14 +0,0 @@
1#ifndef __LIB_STDARG_H
2#define __LIB_STDARG_H
3
4/* GCC has <stdarg.h> functionality as built-ins,
5 so all we need is to use it. */
6
7typedef __builtin_va_list va_list;
8
9#define va_start(LIST, ARG) __builtin_va_start (LIST, ARG)
10#define va_end(LIST) __builtin_va_end (LIST)
11#define va_arg(LIST, TYPE) __builtin_va_arg (LIST, TYPE)
12#define va_copy(DST, SRC) __builtin_va_copy (DST, SRC)
13
14#endif /* lib/stdarg.h */