diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/test/test.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/bin/test/test.c b/bin/test/test.c index 8cf9dab..cad61e6 100644 --- a/bin/test/test.c +++ b/bin/test/test.c @@ -10,13 +10,9 @@ * This program is in the Public Domain. */ -#include <sys/cdefs.h> -#ifndef lint -__RCSID("$NetBSD: test.c,v 1.43 2018/09/13 22:00:58 kre Exp $"); -#endif - #include <sys/stat.h> #include <sys/types.h> +#include <bsd/sys/time.h> #include <ctype.h> #include <err.h> @@ -25,6 +21,7 @@ __RCSID("$NetBSD: test.c,v 1.43 2018/09/13 22:00:58 kre Exp $"); #include <locale.h> #include <stdio.h> #include <stdlib.h> +#include <bsd/stdlib.h> #include <string.h> #include <unistd.h> #include <stdarg.h> @@ -168,7 +165,7 @@ static struct t_op const *t_wp_op; #endif #ifndef SMALL -__dead static void syntax(const char *, const char *); +static void syntax(const char *, const char *); static int oexpr(enum token); static int aexpr(enum token); static int nexpr(enum token); @@ -193,10 +190,10 @@ static int three_arg(const char *, const char *, const char *); static int four_arg(const char *, const char *, const char *, const char *); #if defined(SHELL) -extern void error(const char *, ...) __dead __printflike(1, 2); +extern void error(const char *, ...) __printflike(1, 2); extern void *ckmalloc(size_t); #else -static void error(const char *, ...) __dead __printflike(1, 2); +static void error(const char *, ...); static void error(const char *msg, ...) |