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.
This commit is contained in:
Jeff Johnston 2015-11-02 16:34:49 -05:00
parent 5045532322
commit 72e18faf62
10 changed files with 51 additions and 38 deletions

View File

@ -1,3 +1,16 @@
2015-11-02 Jon Turney <jon.turney@dronecode.org.uk>
* 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.
2015-09-22 Mike Frysinger <vapier@gentoo.org>
* config.guess: Update from config repo.

View File

@ -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]>;

View File

@ -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]>;

View File

@ -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]>;

View File

@ -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]>;

View File

@ -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]>;

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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