diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2015-11-02 16:34:49 -0500 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2015-11-02 16:34:49 -0500 |
commit | 72e18faf625a9644b4d1fd8957433db482c42aae (patch) | |
tree | c971f62b1524cea4552745a52b5559faa3abfa43 /newlib | |
parent | 50455323229d54a19ffc0a6fa2e1f1f24898b9c4 (diff) | |
download | newlib-72e18faf625a9644b4d1fd8957433db482c42aae.zip newlib-72e18faf625a9644b4d1fd8957433db482c42aae.tar.gz newlib-72e18faf625a9644b4d1fd8957433db482c42aae.tar.bz2 |
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')
-rw-r--r-- | newlib/libc/stdio/fseek.c | 16 | ||||
-rw-r--r-- | newlib/libc/stdio/fwide.c | 8 | ||||
-rw-r--r-- | newlib/libc/stdio64/fseeko64.c | 8 | ||||
-rw-r--r-- | newlib/libc/string/strtok.c | 12 | ||||
-rw-r--r-- | newlib/libc/string/wcstok.c | 4 | ||||
-rw-r--r-- | newlib/libm/math/w_cosh.c | 6 | ||||
-rw-r--r-- | newlib/libm/math/w_fmod.c | 8 | ||||
-rw-r--r-- | newlib/libm/mathfp/s_cosh.c | 6 | ||||
-rw-r--r-- | newlib/libm/mathfp/s_fmod.c | 8 |
9 files changed, 38 insertions, 38 deletions
diff --git a/newlib/libc/stdio/fseek.c b/newlib/libc/stdio/fseek.c index 34147fa..b8fc36a 100644 --- a/newlib/libc/stdio/fseek.c +++ b/newlib/libc/stdio/fseek.c @@ -30,32 +30,32 @@ INDEX ANSI_SYNOPSIS #include <stdio.h> - int fseek(FILE *<[fp]>, long <[offset]>, int <[whence]>) - int fseeko(FILE *<[fp]>, off_t <[offset]>, int <[whence]>) + int fseek(FILE *<[fp]>, long <[offset]>, int <[whence]>); + int fseeko(FILE *<[fp]>, off_t <[offset]>, int <[whence]>); int _fseek_r(struct _reent *<[ptr]>, FILE *<[fp]>, - long <[offset]>, int <[whence]>) + long <[offset]>, int <[whence]>); int _fseeko_r(struct _reent *<[ptr]>, FILE *<[fp]>, - off_t <[offset]>, int <[whence]>) + off_t <[offset]>, int <[whence]>); TRAD_SYNOPSIS #include <stdio.h> - int fseek(<[fp]>, <[offset]>, <[whence]>) + int fseek(<[fp]>, <[offset]>, <[whence]>); FILE *<[fp]>; long <[offset]>; int <[whence]>; - int fseeko(<[fp]>, <[offset]>, <[whence]>) + int fseeko(<[fp]>, <[offset]>, <[whence]>); FILE *<[fp]>; off_t <[offset]>; int <[whence]>; - int _fseek_r(<[ptr]>, <[fp]>, <[offset]>, <[whence]>) + int _fseek_r(<[ptr]>, <[fp]>, <[offset]>, <[whence]>); struct _reent *<[ptr]>; FILE *<[fp]>; long <[offset]>; int <[whence]>; - int _fseeko_r(<[ptr]>, <[fp]>, <[offset]>, <[whence]>) + int _fseeko_r(<[ptr]>, <[fp]>, <[offset]>, <[whence]>); struct _reent *<[ptr]>; FILE *<[fp]>; off_t <[offset]>; diff --git a/newlib/libc/stdio/fwide.c b/newlib/libc/stdio/fwide.c index a060d8f..b2aaf8a 100644 --- a/newlib/libc/stdio/fwide.c +++ b/newlib/libc/stdio/fwide.c @@ -9,17 +9,17 @@ INDEX ANSI_SYNOPSIS #include <wchar.h> - int fwide(FILE *<[fp]>, int <[mode]>) + int fwide(FILE *<[fp]>, int <[mode]>); - int _fwide_r(struct _reent *<[ptr]>, FILE *<[fp]>, int <[mode]>) + int _fwide_r(struct _reent *<[ptr]>, FILE *<[fp]>, int <[mode]>); TRAD_SYNOPSIS #include <wchar.h> - int fwide(<[fp]>, <[mode]>) + int fwide(<[fp]>, <[mode]>); FILE *<[fp]>; int <[mode]>; - int _fwide_r(<[ptr]>, <[fp]>, <[mode]>) + int _fwide_r(<[ptr]>, <[fp]>, <[mode]>); struct _reent *<[ptr]>; FILE *<[fp]>; int <[mode]>; diff --git a/newlib/libc/stdio64/fseeko64.c b/newlib/libc/stdio64/fseeko64.c index d605dd0..34eee67 100644 --- a/newlib/libc/stdio64/fseeko64.c +++ b/newlib/libc/stdio64/fseeko64.c @@ -26,18 +26,18 @@ INDEX ANSI_SYNOPSIS #include <stdio.h> - int fseeko64(FILE *<[fp]>, _off64_t <[offset]>, int <[whence]>) + int fseeko64(FILE *<[fp]>, _off64_t <[offset]>, int <[whence]>); int _fseeko64_r (struct _reent *<[ptr]>, FILE *<[fp]>, - _off64_t <[offset]>, int <[whence]>) + _off64_t <[offset]>, int <[whence]>); TRAD_SYNOPSIS #include <stdio.h> - int fseeko64(<[fp]>, <[offset]>, <[whence]>) + int fseeko64(<[fp]>, <[offset]>, <[whence]>); FILE *<[fp]>; _off64_t <[offset]>; int <[whence]>; - int _fseeko64_r (<[ptr]>, <[fp]>, <[offset]>, <[whence]>) + int _fseeko64_r (<[ptr]>, <[fp]>, <[offset]>, <[whence]>); struct _reent *<[ptr]>; FILE *<[fp]>; _off64_t <[offset]>; diff --git a/newlib/libc/string/strtok.c b/newlib/libc/string/strtok.c index 35460ba..21607e0 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 95e9af3..144b33e 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]>; diff --git a/newlib/libm/math/w_cosh.c b/newlib/libm/math/w_cosh.c index ab046f6..54bfec3 100644 --- a/newlib/libm/math/w_cosh.c +++ b/newlib/libm/math/w_cosh.c @@ -19,14 +19,14 @@ FUNCTION ANSI_SYNOPSIS #include <math.h> double cosh(double <[x]>); - float coshf(float <[x]>) + float coshf(float <[x]>); TRAD_SYNOPSIS #include <math.h> - double cosh(<[x]>) + double cosh(<[x]>); double <[x]>; - float coshf(<[x]>) + float coshf(<[x]>); float <[x]>; DESCRIPTION diff --git a/newlib/libm/math/w_fmod.c b/newlib/libm/math/w_fmod.c index 47d1dd0..f9f72c7 100644 --- a/newlib/libm/math/w_fmod.c +++ b/newlib/libm/math/w_fmod.c @@ -22,15 +22,15 @@ fmodf ANSI_SYNOPSIS #include <math.h> -double fmod(double <[x]>, double <[y]>) -float fmodf(float <[x]>, float <[y]>) +double fmod(double <[x]>, double <[y]>); +float fmodf(float <[x]>, float <[y]>); TRAD_SYNOPSIS #include <math.h> -double fmod(<[x]>, <[y]>) +double fmod(<[x]>, <[y]>); double (<[x]>, <[y]>); -float fmodf(<[x]>, <[y]>) +float fmodf(<[x]>, <[y]>); float (<[x]>, <[y]>); DESCRIPTION diff --git a/newlib/libm/mathfp/s_cosh.c b/newlib/libm/mathfp/s_cosh.c index 24b5420..f914110 100644 --- a/newlib/libm/mathfp/s_cosh.c +++ b/newlib/libm/mathfp/s_cosh.c @@ -9,14 +9,14 @@ FUNCTION ANSI_SYNOPSIS #include <math.h> double cosh(double <[x]>); - float coshf(float <[x]>) + float coshf(float <[x]>); TRAD_SYNOPSIS #include <math.h> - double cosh(<[x]>) + double cosh(<[x]>); double <[x]>; - float coshf(<[x]>) + float coshf(<[x]>); float <[x]>; DESCRIPTION diff --git a/newlib/libm/mathfp/s_fmod.c b/newlib/libm/mathfp/s_fmod.c index ec86376..19bba9c 100644 --- a/newlib/libm/mathfp/s_fmod.c +++ b/newlib/libm/mathfp/s_fmod.c @@ -22,15 +22,15 @@ fmodf ANSI_SYNOPSIS #include <math.h> -double fmod(double <[x]>, double <[y]>) -float fmodf(float <[x]>, float <[y]>) +double fmod(double <[x]>, double <[y]>); +float fmodf(float <[x]>, float <[y]>); TRAD_SYNOPSIS #include <math.h> -double fmod(<[x]>, <[y]>) +double fmod(<[x]>, <[y]>); double (<[x]>, <[y]>); -float fmodf(<[x]>, <[y]>) +float fmodf(<[x]>, <[y]>); float (<[x]>, <[y]>); DESCRIPTION |