summaryrefslogtreecommitdiff
path: root/misc/mshell/files/patch-ah
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-10-20 23:14:56 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-10-20 23:14:56 +0000
commit94474afc669ea3603e271c0b24db1518f5e345b2 (patch)
tree6116e182491e536d8ffc6410181b4675ae90e05d /misc/mshell/files/patch-ah
parentmakeztxt is a simple command line program that takes a plain ASCII text file (diff)
Fix build on -current (remove conflicting prototype for strsave() and
include correct headers)
Notes
Notes: svn path=/head/; revision=68448
Diffstat (limited to 'misc/mshell/files/patch-ah')
-rw-r--r--misc/mshell/files/patch-ah10
1 files changed, 10 insertions, 0 deletions
diff --git a/misc/mshell/files/patch-ah b/misc/mshell/files/patch-ah
new file mode 100644
index 000000000000..899850821144
--- /dev/null
+++ b/misc/mshell/files/patch-ah
@@ -0,0 +1,10 @@
+--- string.c.orig Sun Oct 20 16:14:00 2002
++++ string.c Sun Oct 20 16:14:08 2002
+@@ -271,7 +271,6 @@
+ /* if it has a multi-command delim, save rest for next time */
+ #define MULTI_CMD_DELIM ','
+ if (p = index(string, MULTI_CMD_DELIM)) {
+- char *strsave();
+ struct inp_link *l;
+ *p++ = EOS;
+ if ((l=getnode(sizeof(*l))) && (l->input=strsave(p)))