mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Prevent collision with getline(3)
This commit is contained in:
parent
00c788d997
commit
00a96641ea
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=415028
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user