summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libc/db/dbtest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/regress/lib/libc/db/dbtest.c b/src/regress/lib/libc/db/dbtest.c
index 9ef76f7f34..6ccfba5011 100644
--- a/src/regress/lib/libc/db/dbtest.c
+++ b/src/regress/lib/libc/db/dbtest.c
@@ -729,14 +729,14 @@ usage()
729 exit(1); 729 exit(1);
730} 730}
731 731
732#if __STDC__ 732#ifdef __STDC__
733#include <stdarg.h> 733#include <stdarg.h>
734#else 734#else
735#include <varargs.h> 735#include <varargs.h>
736#endif 736#endif
737 737
738void 738void
739#if __STDC__ 739#ifdef __STDC__
740err(const char *fmt, ...) 740err(const char *fmt, ...)
741#else 741#else
742err(fmt, va_alist) 742err(fmt, va_alist)
@@ -745,7 +745,7 @@ err(fmt, va_alist)
745#endif 745#endif
746{ 746{
747 va_list ap; 747 va_list ap;
748#if __STDC__ 748#ifdef __STDC__
749 va_start(ap, fmt); 749 va_start(ap, fmt);
750#else 750#else
751 va_start(ap); 751 va_start(ap);