summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2015-12-31 19:20:52 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2015-12-31 19:20:52 +0000
commit7ec40401d50fd9f99d9f0895234e9af2658060c2 (patch)
treebb3ddd3dcb460126df1e2a6a62c554101eb1c68f /usr.sbin
parent2db0d9de87ba3e0fc682a1ef5a41d2014cbdbde6 (diff)
Provide a prototype for yyparse(). Unbreaks the tree.
ok millert@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/eeprom/getdate.y4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/eeprom/getdate.y b/usr.sbin/eeprom/getdate.y
index 02f25a08918..9d57a04774f 100644
--- a/usr.sbin/eeprom/getdate.y
+++ b/usr.sbin/eeprom/getdate.y
@@ -1,5 +1,5 @@
%{
-/* $OpenBSD: getdate.y,v 1.9 2013/12/03 01:48:37 millert Exp $ */
+/* $OpenBSD: getdate.y,v 1.10 2015/12/31 19:20:51 kettenis Exp $ */
/*
** Originally written by Steven M. Bellovin <smb@research.att.com> while
@@ -21,6 +21,8 @@
#include <string.h>
#include <time.h>
+int yyparse(void);
+
#define EPOCH 1970
#define HOUR(x) ((time_t)(x) * 60)
#define SECSPERDAY (24L * 60L * 60L)