projects
/
oweals
/
musl.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 1ccd8029238987f05e183c3bfec186287dff89f0..d4b238828e2a973b970f184118f962a984113518 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;