Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2015-11-03 00:34:49 +0300
committerJeff Johnston <jjohnstn@redhat.com>2015-11-03 00:34:49 +0300
commit72e18faf625a9644b4d1fd8957433db482c42aae (patch)
treec971f62b1524cea4552745a52b5559faa3abfa43
parent50455323229d54a19ffc0a6fa2e1f1f24898b9c4 (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.
-rw-r--r--ChangeLog13
-rw-r--r--newlib/libc/stdio/fseek.c16
-rw-r--r--newlib/libc/stdio/fwide.c8
-rw-r--r--newlib/libc/stdio64/fseeko64.c8
-rw-r--r--newlib/libc/string/strtok.c12
-rw-r--r--newlib/libc/string/wcstok.c4
-rw-r--r--newlib/libm/math/w_cosh.c6
-rw-r--r--newlib/libm/math/w_fmod.c8
-rw-r--r--newlib/libm/mathfp/s_cosh.c6
-rw-r--r--newlib/libm/mathfp/s_fmod.c8
10 files changed, 51 insertions, 38 deletions
diff --git a/ChangeLog b/ChangeLog
index 547474a56..487b1d374 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/newlib/libc/stdio/fseek.c b/newlib/libc/stdio/fseek.c
index 34147faff..b8fc36a04 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 a060d8f65..b2aaf8a62 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 d605dd09b..34eee6783 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 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]>;
diff --git a/newlib/libm/math/w_cosh.c b/newlib/libm/math/w_cosh.c
index ab046f6ed..54bfec37d 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 47d1dd081..f9f72c745 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 24b542092..f91411037 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 ec86376af..19bba9c18 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