OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54e059a
)
Wrap getline() inside #ifdef __USE_GNU
author
Eric Andersen
<andersen@codepoet.org>
Mon, 21 May 2001 20:09:59 +0000
(20:09 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Mon, 21 May 2001 20:09:59 +0000
(20:09 -0000)
include/stdio.h
patch
|
blob
|
history
diff --git
a/include/stdio.h
b/include/stdio.h
index
f8bdfa1
..
918546e
100644
(file)
--- a/
include/stdio.h
+++ b/
include/stdio.h
@@
-324,6
+324,7
@@
extern char *fgets __P ((char *__restrict __s, int __n,
extern char *gets __P ((char *__s));
+#ifdef __USE_GNU
/* Read up to (and including) a DELIMITER from STREAM into *LINEPTR
(and null-terminate it). *LINEPTR is a pointer returned from malloc (or
NULL), pointing to *N characters of space. It is realloc'd as
@@
-340,6
+341,7
@@
extern ssize_t getdelim __P ((char **__restrict __lineptr,
extern ssize_t getline __P ((char **__restrict __lineptr,
size_t *__restrict __n,
FILE *__restrict __stream));
+#endif
/* Write a string to STREAM. */