From: Ken Raeburn Date: Wed, 8 May 2002 19:47:43 +0000 (+0000) Subject: * dbtest.c: Test for __STDC__ defined, not nonzero, to decide whether to use X-Git-Tag: krb5-1.3-alpha1~752 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c1000434a0f56b20ef82b463ea53a68782f0255a;p=krb5.git * dbtest.c: Test for __STDC__ defined, not nonzero, to decide whether to use stdarg.h or varargs.h. (err): Similarly for function signature. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14436 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/db2/test/ChangeLog b/src/util/db2/test/ChangeLog index e98927539..8794fb2bf 100644 --- a/src/util/db2/test/ChangeLog +++ b/src/util/db2/test/ChangeLog @@ -1,3 +1,8 @@ + + * dbtest.c: Test for __STDC__ defined, not nonzero, to decide + whether to use stdarg.h or varargs.h. + (err): Similarly for function signature. + 2002-02-19 Ken Raeburn * run.test: Use "/bin/." instead of "/bin" in find commands in diff --git a/src/util/db2/test/dbtest.c b/src/util/db2/test/dbtest.c index b5adc060a..ca18378ee 100644 --- a/src/util/db2/test/dbtest.c +++ b/src/util/db2/test/dbtest.c @@ -735,14 +735,14 @@ usage() exit(1); } -#if __STDC__ +#ifdef __STDC__ #include #else #include #endif void -#if __STDC__ +#ifdef __STDC__ err(const char *fmt, ...) #else err(fmt, va_alist) @@ -751,7 +751,7 @@ err(fmt, va_alist) #endif { va_list ap; -#if __STDC__ +#ifdef __STDC__ va_start(ap, fmt); #else va_start(ap);