diff options
author | imp <imp@FreeBSD.org> | 2002-03-23 23:19:00 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-03-23 23:19:00 +0000 |
commit | 7535c05549167a070eade4bb6ecc239226494f93 (patch) | |
tree | ded521ab40047922e84e8a4fb5a9d5c7b767a81a /usr.bin/compress | |
parent | c91815c7770dfdd086d53534b1ff6a1e463404b6 (diff) | |
download | FreeBSD-src-7535c05549167a070eade4bb6ecc239226494f93.zip FreeBSD-src-7535c05549167a070eade4bb6ecc239226494f93.tar.gz |
unifdef -D__STDC__
Diffstat (limited to 'usr.bin/compress')
-rw-r--r-- | usr.bin/compress/compress.c | 31 |
1 files changed, 3 insertions, 28 deletions
diff --git a/usr.bin/compress/compress.c b/usr.bin/compress/compress.c index 449ac95..bcdfd69 100644 --- a/usr.bin/compress/compress.c +++ b/usr.bin/compress/compress.c @@ -52,17 +52,12 @@ __FBSDID("$FreeBSD$"); #include <err.h> #include <errno.h> +#include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> -#ifdef __STDC__ -#include <stdarg.h> -#else -#include <varargs.h> -#endif - #include "zopen.h" void compress(const char *, const char *, int); @@ -413,42 +408,22 @@ usage(iscompress) } void -#if __STDC__ cwarnx(const char *fmt, ...) -#else -cwarnx(fmt, va_alist) - int eval; - const char *fmt; - va_dcl -#endif { va_list ap; -#if __STDC__ + va_start(ap, fmt); -#else - va_start(ap); -#endif vwarnx(fmt, ap); va_end(ap); eval = 1; } void -#if __STDC__ cwarn(const char *fmt, ...) -#else -cwarn(fmt, va_alist) - int eval; - const char *fmt; - va_dcl -#endif { va_list ap; -#if __STDC__ + va_start(ap, fmt); -#else - va_start(ap); -#endif vwarn(fmt, ap); va_end(ap); eval = 1; |