aboutsummaryrefslogtreecommitdiffstats
path: root/shells
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2016-05-12 04:26:38 +0800
committerbapt <bapt@FreeBSD.org>2016-05-12 04:26:38 +0800
commita323a0b7d7a2b4e2bca7bb4e65682ebfb3ee7b84 (patch)
treeb8afd5d534a36317f80326c18193b82f76c684eb /shells
parentae315cee0f7371b39597e7cea811f33a0aa2f495 (diff)
downloadfreebsd-ports-gnome-a323a0b7d7a2b4e2bca7bb4e65682ebfb3ee7b84.tar.gz
freebsd-ports-gnome-a323a0b7d7a2b4e2bca7bb4e65682ebfb3ee7b84.tar.zst
freebsd-ports-gnome-a323a0b7d7a2b4e2bca7bb4e65682ebfb3ee7b84.zip
Prevent collision with getline(3)
Diffstat (limited to 'shells')
-rw-r--r--shells/flash/files/patch-string.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/shells/flash/files/patch-string.h b/shells/flash/files/patch-string.h
index c74da7be8a03..6fcbfe8d91e1 100644
--- a/shells/flash/files/patch-string.h
+++ b/shells/flash/files/patch-string.h
@@ -1,6 +1,6 @@
---- string.h.orig Thu Jan 18 01:21:24 2001
-+++ string.h Fri Jan 26 05:36:32 2001
-@@ -2,7 +2,6 @@
+--- string.h.orig 2001-11-03 18:09:21 UTC
++++ string.h
+@@ -2,14 +2,13 @@
# define __STRING_H
#include <ctype.h>
@@ -8,3 +8,11 @@
#define CR '\n'
#define TAB '\t'
+
+ char *readline(FILE *fp);
+ char *findline(char *start, int *foundend);
+-int getline(const char *, char *);
++int get_line(const char *, char *);
+ int substr(const char *, char *, char);
+ int strtokenize(char *line, char delim, char **tokens, int maxtokens);
+ char *stradp(char *filename);