summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2015-12-31 19:20:51 +0000
committerkettenis <kettenis@openbsd.org>2015-12-31 19:20:51 +0000
commit1d38cd8133b20a7987fe36e2123db4fc1d04c540 (patch)
tree192f4631cb918c3367efce58ab832edddf7dc16f
parentMake ixgbe_start() mpsafe. This means the driver will no longer grab the (diff)
downloadwireguard-openbsd-1d38cd8133b20a7987fe36e2123db4fc1d04c540.tar.xz
wireguard-openbsd-1d38cd8133b20a7987fe36e2123db4fc1d04c540.zip
Provide a prototype for yyparse(). Unbreaks the tree.
ok millert@
-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)