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
path: root/newlib
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2015-06-23 15:00:57 +0300
committerJon TURNEY <jon.turney@dronecode.org.uk>2015-06-23 19:30:22 +0300
commitff4a4f2655dc5e1da47b0b4bcf8931a90d1a1914 (patch)
treeae54ea870fd174677f65d990e94ca3eee4588cf7 /newlib
parent6c75f6fcb280837e261568a5dd80a23235ddb28f (diff)
Fix SYNOPSIS prototypes without marked up parameter names
2015-06-23 Jon Turney <jon.turney@dronecode.org.uk> * libc/stdlib/llabs.c: Mark up parameter name in ANSI_SYNOPSIS. * libc/time/tzset.c: Add and mark up parameter in SYNOPSIS. * libm/common/s_nan.c: Ditto. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog6
-rw-r--r--newlib/libc/stdlib/llabs.c2
-rw-r--r--newlib/libc/time/tzset.c4
-rw-r--r--newlib/libm/common/s_nan.c4
4 files changed, 11 insertions, 5 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 7c29d88b8..2f1c8e2c1 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,5 +1,11 @@
2015-06-23 Jon Turney <jon.turney@dronecode.org.uk>
+ * libc/stdlib/llabs.c: Mark up parameter name in ANSI_SYNOPSIS.
+ * libc/time/tzset.c: Add and mark up parameter in SYNOPSIS.
+ * libm/common/s_nan.c: Ditto.
+
+2015-06-23 Jon Turney <jon.turney@dronecode.org.uk>
+
* libc/stdio/getchar_u.c: Fix a non-ANSI prototype in SYNOPSIS.
2015-06-23 Jon Turney <jon.turney@dronecode.org.uk>
diff --git a/newlib/libc/stdlib/llabs.c b/newlib/libc/stdlib/llabs.c
index 11246c354..496373910 100644
--- a/newlib/libc/stdlib/llabs.c
+++ b/newlib/libc/stdlib/llabs.c
@@ -7,7 +7,7 @@ INDEX
ANSI_SYNOPSIS
#include <stdlib.h>
- long long llabs(long long j);
+ long long llabs(long long <[j]>);
TRAD_SYNOPSIS
#include <stdlib.h>
diff --git a/newlib/libc/time/tzset.c b/newlib/libc/time/tzset.c
index 5c421a58e..e0750e1fd 100644
--- a/newlib/libc/time/tzset.c
+++ b/newlib/libc/time/tzset.c
@@ -10,12 +10,12 @@ INDEX
ANSI_SYNOPSIS
#include <time.h>
void tzset(void);
- void _tzset_r (struct _reent *);
+ void _tzset_r (struct _reent *<[reent_ptr]>);
TRAD_SYNOPSIS
#include <time.h>
void tzset();
- void _tzset_r (reent_ptr)
+ void _tzset_r (<[reent_ptr]>);
struct _reent *reent_ptr;
DESCRIPTION
diff --git a/newlib/libm/common/s_nan.c b/newlib/libm/common/s_nan.c
index ba0bb0ac1..a98650db0 100644
--- a/newlib/libm/common/s_nan.c
+++ b/newlib/libm/common/s_nan.c
@@ -14,8 +14,8 @@ INDEX
ANSI_SYNOPSIS
#include <math.h>
- double nan(const char *);
- float nanf(const char *);
+ double nan(const char *<[unused]>);
+ float nanf(const char *<[unused]>);
TRAD_SYNOPSIS
#include <math.h>