OSDN Git Service
(root)
/
android-x86
/
external-musl-libc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fbe53e
)
remove unused MIN macro from getdelim source file
author
Rich Felker
<dalias@aerifal.cx>
Sat, 24 Feb 2018 16:38:53 +0000
(11:38 -0500)
committer
Rich Felker
<dalias@aerifal.cx>
Sat, 24 Feb 2018 16:38:53 +0000
(11:38 -0500)
src/stdio/getdelim.c
patch
|
blob
|
history
diff --git
a/src/stdio/getdelim.c
b/src/stdio/getdelim.c
index
1ccd802
..
d4b2388
100644
(file)
--- a/
src/stdio/getdelim.c
+++ b/
src/stdio/getdelim.c
@@
-3,8
+3,6
@@
#include <inttypes.h>
#include <errno.h>
-#define MIN(a,b) ((a)<(b) ? (a) : (b))
-
ssize_t getdelim(char **restrict s, size_t *restrict n, int delim, FILE *restrict f)
{
char *tmp;