summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-03-11 22:26:03 +0000
committerderaadt <deraadt@openbsd.org>2015-03-11 22:26:03 +0000
commitadd4ceed802724f5d15dea74b52ea24c3b9c728c (patch)
treec030877bfcf0a559e2c13a3559035b24f18afd32
parentConvert to if_input(). (diff)
downloadwireguard-openbsd-add4ceed802724f5d15dea74b52ea24c3b9c728c.tar.xz
wireguard-openbsd-add4ceed802724f5d15dea74b52ea24c3b9c728c.zip
do not handcraft protos that already come from unistd.h
-rw-r--r--usr.sbin/zic/zic.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.sbin/zic/zic.c b/usr.sbin/zic/zic.c
index d7aa6b2814c..b749f78fb04 100644
--- a/usr.sbin/zic/zic.c
+++ b/usr.sbin/zic/zic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zic.c,v 1.17 2015/02/11 01:07:37 deraadt Exp $ */
+/* $OpenBSD: zic.c,v 1.18 2015/03/11 22:26:03 deraadt Exp $ */
/*
** This file is in the public domain, so clarified as of
** 2006-07-17 by Arthur David Olson.
@@ -82,12 +82,6 @@ struct zone {
zic_t z_untiltime;
};
-extern int getopt(int argc, char * const argv[],
- const char * options);
-extern int link(const char * fromname, const char * toname);
-extern char * optarg;
-extern int optind;
-
static void addtt(zic_t starttime, int type);
static int addtype(long gmtoff, const char * abbr, int isdst,
int ttisstd, int ttisgmt);