diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2015-11-03 00:34:49 +0300 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2015-11-03 00:34:49 +0300 |
commit | 72e18faf625a9644b4d1fd8957433db482c42aae (patch) | |
tree | c971f62b1524cea4552745a52b5559faa3abfa43 /newlib/libc/string | |
parent | 50455323229d54a19ffc0a6fa2e1f1f24898b9c4 (diff) |
Add missing semicolons to prototypes.
* libc/stdio/fseek.c: Add missing semicolons to prototypes in
SYNOPSIS.
* libc/stdio/fwide.c: Ditto.
* libc/stdio64/fseeko64.c: Ditto.
* libc/string/strtok.c: Ditto.
* libc/string/wcstok.c: Ditto.
* libm/math/w_cosh.c: Ditto.
* libm/math/w_fmod.c: Ditto.
* libm/mathfp/s_cosh.c: Ditto.
* libm/mathfp/s_fmod.c: Ditto.
Diffstat (limited to 'newlib/libc/string')
-rw-r--r-- | newlib/libc/string/strtok.c | 12 | ||||
-rw-r--r-- | newlib/libc/string/wcstok.c | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/newlib/libc/string/strtok.c b/newlib/libc/string/strtok.c index 35460ba04..21607e04a 100644 --- a/newlib/libc/string/strtok.c +++ b/newlib/libc/string/strtok.c @@ -14,24 +14,24 @@ INDEX ANSI_SYNOPSIS #include <string.h> char *strtok(char *restrict <[source]>, - const char *restrict <[delimiters]>) + const char *restrict <[delimiters]>); char *strtok_r(char *restrict <[source]>, const char *restrict <[delimiters]>, - char **<[lasts]>) - char *strsep(char **<[source_ptr]>, const char *<[delimiters]>) + char **<[lasts]>); + char *strsep(char **<[source_ptr]>, const char *<[delimiters]>); TRAD_SYNOPSIS #include <string.h> - char *strtok(<[source]>, <[delimiters]>) + char *strtok(<[source]>, <[delimiters]>); char *<[source]>; char *<[delimiters]>; - char *strtok_r(<[source]>, <[delimiters]>, <[lasts]>) + char *strtok_r(<[source]>, <[delimiters]>, <[lasts]>); char *<[source]>; char *<[delimiters]>; char **<[lasts]>; - char *strsep(<[source_ptr]>, <[delimiters]>) + char *strsep(<[source_ptr]>, <[delimiters]>); char **<[source_ptr]>; char *<[delimiters]>; diff --git a/newlib/libc/string/wcstok.c b/newlib/libc/string/wcstok.c index 95e9af3c2..144b33efd 100644 --- a/newlib/libc/string/wcstok.c +++ b/newlib/libc/string/wcstok.c @@ -10,11 +10,11 @@ ANSI_SYNOPSIS #include <wchar.h> wchar_t *wcstok(wchar_t *__restrict <[source]>, const wchar_t *__restrict <[delimiters]>, - wchar_t **__restrict <[lasts]>) + wchar_t **__restrict <[lasts]>); TRAD_SYNOPSIS #include <wchar.h> - wchar_t *wcstok(<[source]>, <[delimiters]>, <[lasts]>) + wchar_t *wcstok(<[source]>, <[delimiters]>, <[lasts]>); wchar_t *__restrict <[source]>; wchar_t *__restrict <[delimiters]>; wchar_t **__restrict <[lasts]>; |