summaryrefslogtreecommitdiff
path: root/libc/string/generic/strtok_r.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-06 14:48:31 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-06 14:48:31 +0000
commit8cbb9efc63ec64393460ee5947de6f90f98e84af (patch)
tree0695e890aab4c0ecdb935b5143db5d798474d023 /libc/string/generic/strtok_r.c
parent7a79b1da0c124fb642658c3698a38fdd9e77eb01 (diff)
Correct syntax now...
Diffstat (limited to 'libc/string/generic/strtok_r.c')
-rw-r--r--libc/string/generic/strtok_r.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libc/string/generic/strtok_r.c b/libc/string/generic/strtok_r.c
index 6daa68124..56eb64bb9 100644
--- a/libc/string/generic/strtok_r.c
+++ b/libc/string/generic/strtok_r.c
@@ -36,10 +36,7 @@
x = strtok_r(NULL, "=", &sp); // x = NULL
// s = "abc\0-def\0"
*/
-char attribute_hidden *__strtok_r (s, delim, save_ptr)
- char *s;
- const char *delim;
- char **save_ptr;
+char attribute_hidden *__strtok_r (char *s, const char *delim, char **save_ptr)
{
char *token;