diff options
author | Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> | 2019-06-02 03:03:41 -0500 |
---|---|---|
committer | Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> | 2019-06-02 03:03:41 -0500 |
commit | 93d303d88ac036537c09d8fdc7ff80258826463a (patch) | |
tree | 933fd6e36856cb8383e4824e40e6e689defd0d4e /usr.bin/getconf/getconf.c | |
parent | 3444ebc399faaa0c980ca4686909fff91e8aade3 (diff) | |
download | userland-93d303d88ac036537c09d8fdc7ff80258826463a.tar.gz userland-93d303d88ac036537c09d8fdc7ff80258826463a.tar.bz2 userland-93d303d88ac036537c09d8fdc7ff80258826463a.tar.xz userland-93d303d88ac036537c09d8fdc7ff80258826463a.zip |
usr.bin/getconf: make buildable with libbsd
Diffstat (limited to 'usr.bin/getconf/getconf.c')
-rw-r--r-- | usr.bin/getconf/getconf.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.bin/getconf/getconf.c b/usr.bin/getconf/getconf.c index 8de472b..364648d 100644 --- a/usr.bin/getconf/getconf.c +++ b/usr.bin/getconf/getconf.c @@ -29,17 +29,13 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/cdefs.h> -#ifndef lint -__RCSID("$NetBSD: getconf.c,v 1.35 2013/12/19 19:11:50 rmind Exp $"); -#endif /* not lint */ - #include <err.h> #include <errno.h> #include <limits.h> #include <locale.h> #include <stdio.h> #include <stdlib.h> +#include <bsd/stdlib.h> #include <unistd.h> #include <string.h> @@ -53,7 +49,7 @@ struct conf_variable static void print_longvar(const char *, long); static void print_strvar(const char *, const char *); static void printvar(const struct conf_variable *, const char *); -static void usage(void) __dead; +static void usage(void); static const struct conf_variable conf_table[] = { |