diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-12-31 19:20:52 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-12-31 19:20:52 +0000 |
commit | 7ec40401d50fd9f99d9f0895234e9af2658060c2 (patch) | |
tree | bb3ddd3dcb460126df1e2a6a62c554101eb1c68f /usr.sbin | |
parent | 2db0d9de87ba3e0fc682a1ef5a41d2014cbdbde6 (diff) |
Provide a prototype for yyparse(). Unbreaks the tree.
ok millert@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/eeprom/getdate.y | 4 |
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) |