summaryrefslogtreecommitdiff
path: root/src/stdarg/va_arg.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-16 14:11:32 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-16 14:11:32 -0400
commit77d0069e522400b63c2182fcc5f852718e4e6f2c (patch)
tree6713710011e6e24ebc589d4fa32093e5af329afc /src/stdarg/va_arg.c
parent896e28812c51b9ffdf3efc00c7d7ef699e380a58 (diff)
rename files that should never be compiled on their own to .h
Diffstat (limited to 'src/stdarg/va_arg.c')
-rw-r--r--src/stdarg/va_arg.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/stdarg/va_arg.c b/src/stdarg/va_arg.c
deleted file mode 100644
index 79584b2b..00000000
--- a/src/stdarg/va_arg.c
+++ /dev/null
@@ -1,21 +0,0 @@
-#define va_arg(__ap, __type) __builtin_va_arg(__ap, __type)
-
-/** get an unnamed parameter **/
-
-/***
-retrieves the next unnamed parameter for use. The ARGUMENT(ap) parameter must
-be first initialized with a call to FUNCTION(va_start). Each successive call to
-FUNCTION(va_arg) evaluates the next argument as an object of type ARGUMENT(type)
-and returns that value, modifying ARGUMENT(ap) for use in the next call to
-FUNCTION(va_arg).
-***/
-
-/*
-PROTOTYPE(TYPE(VAR(type)) va_arg(va_list ap, TYPE(VAR(type)));)
-
-UNDEFINED(There is no next argument)
-UNDEFINED(The next argument is not compatible with TYPE(ARGUMENT(type)))
-RETURN_SUCCESS(an object of TYPE(ARGUMENT(type)) which is the next unnamed function parameter)
-
-STDC(1)
-*/