diff options
Diffstat (limited to 'sysutils/44bsd-more/files/patch-ncommand.c')
-rw-r--r-- | sysutils/44bsd-more/files/patch-ncommand.c | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/sysutils/44bsd-more/files/patch-ncommand.c b/sysutils/44bsd-more/files/patch-ncommand.c index 39167e12cf95..25c8e9b40006 100644 --- a/sysutils/44bsd-more/files/patch-ncommand.c +++ b/sysutils/44bsd-more/files/patch-ncommand.c @@ -1,6 +1,6 @@ ---- ./ncommand.c.orig 2007-06-22 14:48:44.603814341 +0800 -+++ ./ncommand.c 2007-06-22 14:48:44.631081101 +0800 -@@ -231,6 +231,7 @@ +--- ncommand.c.orig 2011-09-08 01:02:56.000000000 +0800 ++++ ncommand.c 2011-09-08 01:19:11.000000000 +0800 +@@ -231,6 +231,7 @@ donextcommand: */ static char *readvar(); @@ -8,7 +8,15 @@ #define NCTXTS 128 void *getstr_ctxts[NCTXTS]; /* could easily be made dynamic... */ -@@ -613,7 +614,6 @@ +@@ -580,6 +581,7 @@ gettog(const char **line, int nopts, ... + * also be set to a corresponding value. The optnumb argument had better + * be within the correct range (between 0 and 2 in the above example)!! + */ ++void + settog(const char *varname, int optval, int nargs, ...) + { + va_list opts; +@@ -613,7 +615,6 @@ readvar(line) { int vlength; char *vstart; |