summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2011-07-08 18:07:17 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2011-07-08 18:07:17 +0000
commitf435963a415fb334e750c191233ada28a1f516c5 (patch)
treee772376898810f39883f6bf43a2bc30bb10e5e00
parent216c6feb2e23e1e7ea42e8a4f1f52949eece4e64 (diff)
extern.h no longer needed
-rw-r--r--bin/date/date.c4
-rw-r--r--bin/date/extern.h35
2 files changed, 1 insertions, 38 deletions
diff --git a/bin/date/date.c b/bin/date/date.c
index 052e4bcc6b6..b6a2a4f807c 100644
--- a/bin/date/date.c
+++ b/bin/date/date.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: date.c,v 1.36 2011/07/07 21:00:59 deraadt Exp $ */
+/* $OpenBSD: date.c,v 1.37 2011/07/08 18:07:16 deraadt Exp $ */
/* $NetBSD: date.c,v 1.11 1995/09/07 06:21:05 jtc Exp $ */
/*
@@ -46,8 +46,6 @@
#include <unistd.h>
#include <util.h>
-#include "extern.h"
-
extern char *__progname;
time_t tval;
diff --git a/bin/date/extern.h b/bin/date/extern.h
deleted file mode 100644
index 460069121e3..00000000000
--- a/bin/date/extern.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/* $OpenBSD: extern.h,v 1.4 2003/06/02 23:32:07 millert Exp $ */
-/* $NetBSD: extern.h,v 1.3 1995/03/21 09:03:52 cgd Exp $ */
-
-/*-
- * Copyright (c) 1993
- * The Regents of the University of California. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. Neither the name of the University nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- * @(#)extern.h 8.1 (Berkeley) 5/31/93
- */
-
-int netsettime(time_t);