diff options
author | Sam Lawrance <lawrance@FreeBSD.org> | 2005-06-12 11:04:19 +0000 |
---|---|---|
committer | Sam Lawrance <lawrance@FreeBSD.org> | 2005-06-12 11:04:19 +0000 |
commit | 733444cf93c12dc2d41d5aaa3652ab3d1828a783 (patch) | |
tree | a0ac180de57741c368c011123d5cb1e7e74331b9 /net/cnet/files/patch-src_parser.c | |
parent | Update to 0.2.1 (diff) |
- Update to 2.0.9 [1]
- portlint pkg-plist pacification
- add a couple patches to fix compile and crash problems,
both submitted to author
PR: ports/74298 [1]
Submitted by: Petr Holub <hopet@ics.muni.cz> [1]
Notes
Notes:
svn path=/head/; revision=137313
Diffstat (limited to 'net/cnet/files/patch-src_parser.c')
-rw-r--r-- | net/cnet/files/patch-src_parser.c | 28 |
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 000000000000..4d9902558111 --- /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; + |