summaryrefslogtreecommitdiffstats
path: root/net/cnet/files/patch-src_parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/cnet/files/patch-src_parser.c')
-rw-r--r--net/cnet/files/patch-src_parser.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/net/cnet/files/patch-src_parser.c b/net/cnet/files/patch-src_parser.c
new file mode 100644
index 0000000..4d99025
--- /dev/null
+++ b/net/cnet/files/patch-src_parser.c
@@ -0,0 +1,28 @@
+--- src/parser.c.orig Wed May 12 18:13:44 2004
++++ src/parser.c Sun Jun 12 17:04:02 2005
+@@ -26,6 +26,8 @@
+ 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
++extern void init_reboot_args(NODEATTR *na, int argc, char **argv);
++
+ #define expect(t,msg) if(token == t) gettoken(); \
+ else compile_error("%s expected\n", msg)
+
+@@ -224,8 +226,6 @@
+ check_string(&(na->outputfile));
+ break;
+ case T_ATTR_NODE_REBOOTARGS : {
+- extern void init_reboot_args(NODEATTR *na, int argc, char **argv);
+-
+ int argc;
+ char **argv;
+ char *str, *s, *t, ch;
+@@ -420,7 +420,6 @@
+ static int node_defn(CnetNodetype nodetype)
+ {
+ extern int add_node(CnetNodetype, char *, int, int *);
+- extern void init_reboot_args(int n, int argc, char **argv);
+
+ int thisnode, wasnew;
+
OpenPOWER on IntegriCloud