summaryrefslogtreecommitdiff
path: root/usr.sbin/zic
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-03-11 22:26:04 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-03-11 22:26:04 +0000
commit71586357e3c8074869dfbf271f66a22f710f0ff2 (patch)
treec79bd535cf8dc240cc1a3edfa6860331ed450a71 /usr.sbin/zic
parent5b1896b132a8add8cef6724aebcc75c1a98c1388 (diff)
do not handcraft protos that already come from unistd.h
Diffstat (limited to 'usr.sbin/zic')
-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);