projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
all printf variants: fix argument type handling for %c and %lc
[musl]
/
src
/
stdio
/
getline.c
diff --git
a/src/stdio/getline.c
b/src/stdio/getline.c
index
a3a6651
..
476d0b0
100644
(file)
--- a/
src/stdio/getline.c
+++ b/
src/stdio/getline.c
@@
-1,6
+1,6
@@
#include <stdio.h>
-ssize_t getline(char **
s, size_t *n, FILE *
f)
+ssize_t getline(char **
restrict s, size_t *restrict n, FILE *restrict
f)
{
return getdelim(s, n, '\n', f);
}