svn commit: r415028 - head/shells/flash/files
Baptiste Daroussin
bapt at FreeBSD.org
Wed May 11 20:26:39 UTC 2016
Author: bapt
Date: Wed May 11 20:26:38 2016
New Revision: 415028
URL: https://svnweb.freebsd.org/changeset/ports/415028
Log:
Prevent collision with getline(3)
Modified:
head/shells/flash/files/patch-string.h
Modified: head/shells/flash/files/patch-string.h
==============================================================================
--- head/shells/flash/files/patch-string.h Wed May 11 20:22:07 2016 (r415027)
+++ head/shells/flash/files/patch-string.h Wed May 11 20:26:38 2016 (r415028)
@@ -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);
More information about the svn-ports-head
mailing list