diff options
author | alfred <alfred@FreeBSD.org> | 2002-05-28 17:03:12 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-05-28 17:03:12 +0000 |
commit | 1ee311b26d7122f860fe940db6ce46968981a9a3 (patch) | |
tree | 96c195652047b452e756960d6bdfc6786443c564 /lib/libc/db/test | |
parent | ae40c00e1724fe7d6584623e3a953b6b44fc741f (diff) | |
download | FreeBSD-src-1ee311b26d7122f860fe940db6ce46968981a9a3.zip FreeBSD-src-1ee311b26d7122f860fe940db6ce46968981a9a3.tar.gz |
Assume __STDC__, remove non-__STDC__ code.
Submitted by: keramida
Diffstat (limited to 'lib/libc/db/test')
-rw-r--r-- | lib/libc/db/test/dbtest.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/lib/libc/db/test/dbtest.c b/lib/libc/db/test/dbtest.c index ec367e1..4d81aee 100644 --- a/lib/libc/db/test/dbtest.c +++ b/lib/libc/db/test/dbtest.c @@ -725,27 +725,14 @@ usage() exit(1); } -#if __STDC__ #include <stdarg.h> -#else -#include <varargs.h> -#endif void -#if __STDC__ err(const char *fmt, ...) -#else -err(fmt, va_alist) - char *fmt; - va_dcl -#endif { va_list ap; -#if __STDC__ + va_start(ap, fmt); -#else - va_start(ap); -#endif (void)fprintf(stderr, "dbtest: "); (void)vfprintf(stderr, fmt, ap); va_end(ap); |