summaryrefslogtreecommitdiff
path: root/usr.bin/rdist/gram.y
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-06-26 21:21:25 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-06-26 21:21:25 +0000
commite02f77d2a6a52f96b8f35599d9c13a1e62817b9b (patch)
treecdffbc6d417f3f0b0f89db1bc35dd35d4d63b96c /usr.bin/rdist/gram.y
parentf82caec240a71362a5d0f2305c7f074be119948b (diff)
rdist 6.1.4 + OpenBSD patches + some -Wall
Diffstat (limited to 'usr.bin/rdist/gram.y')
-rw-r--r--usr.bin/rdist/gram.y12
1 files changed, 11 insertions, 1 deletions
diff --git a/usr.bin/rdist/gram.y b/usr.bin/rdist/gram.y
index b8a58648111..9c813740aa7 100644
--- a/usr.bin/rdist/gram.y
+++ b/usr.bin/rdist/gram.y
@@ -1,4 +1,6 @@
%{
+/* $OpenBSD: gram.y,v 1.4 1998/06/26 21:21:11 millert Exp $ */
+
/*
* Copyright (c) 1993 Michael A. Cooper
* Copyright (c) 1993 Regents of the University of California.
@@ -34,8 +36,13 @@
*/
#ifndef lint
+#if 0
+static char RCSid[] =
+"$From: gram.y,v 6.29 1994/04/11 23:59:15 mcooper Exp mcooper $";
+#else
static char RCSid[] =
-"$Id: gram.y,v 1.3 1996/03/05 03:16:05 dm Exp $";
+"$OpenBSD: gram.y,v 1.4 1998/06/26 21:21:11 millert Exp $";
+#endif
static char *sccsid = "@(#)gram.y 5.2 (Berkeley) 85/06/21";
@@ -413,6 +420,7 @@ extern int any(c, str)
/*
* Insert or append ARROW command to list of hosts to be updated.
*/
+void
insert(label, files, hosts, subcmds)
char *label;
struct namelist *files, *hosts;
@@ -467,6 +475,7 @@ insert(label, files, hosts, subcmds)
* Append DCOLON command to the end of the command list since these are always
* executed in the order they appear in the distfile.
*/
+void
append(label, files, stamp, subcmds)
char *label;
struct namelist *files;
@@ -493,6 +502,7 @@ append(label, files, stamp, subcmds)
/*
* Error printing routine in parser.
*/
+void
yyerror(s)
char *s;
{