summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2013-11-25 17:55:33 +0000
committerJoel Sherrill <joel.sherrill@oarcorp.com>2013-11-25 17:55:33 +0000
commitd264970f79a6b8b67ee87bd995d2b73265b5673d (patch)
tree9d955f20e40bc906b430048b4c0d53bc610a16eb
parent05efdc441d17d1d28b646c4c167d542072b0b0dc (diff)
downloadcygnal-d264970f79a6b8b67ee87bd995d2b73265b5673d.tar.gz
cygnal-d264970f79a6b8b67ee87bd995d2b73265b5673d.tar.bz2
cygnal-d264970f79a6b8b67ee87bd995d2b73265b5673d.zip
2013-11-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* libc/iconv/lib/iconv.c, libc/time/strftime.c: Change "restrict<" to "restrict <" to fix formatting.
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/iconv/lib/iconv.c6
-rw-r--r--newlib/libc/time/strftime.c4
3 files changed, 10 insertions, 5 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 2bf1703e6..f483032cf 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,8 @@
+2013-11-25 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * libc/iconv/lib/iconv.c, libc/time/strftime.c: Change "restrict<" to
+ "restrict <" to fix formatting.
+
2013-11-25 Corinna Vinschen <vinschen@redhat.com>
* libc/include/spawn.h (posix_spawn_file_actions_destroy): Fix typo
diff --git a/newlib/libc/iconv/lib/iconv.c b/newlib/libc/iconv/lib/iconv.c
index f8673b7c6..ba607c653 100644
--- a/newlib/libc/iconv/lib/iconv.c
+++ b/newlib/libc/iconv/lib/iconv.c
@@ -46,9 +46,9 @@ ANSI_SYNOPSIS
iconv_t iconv_open (const char *<[to]>, const char *<[from]>);
int iconv_close (iconv_t <[cd]>);
size_t iconv (iconv_t <[cd]>, char **__restrict<[inbuf]>,
- size_t *__restrict<[inbytesleft]>,
- char **__restrict<[outbuf]>,
- size_t *__restrict<[outbytesleft]>),
+ size_t *__restrict <[inbytesleft]>,
+ char **__restrict <[outbuf]>,
+ size_t *__restrict <[outbytesleft]>),
iconv_t _iconv_open_r (struct _reent *<[rptr]>,
const char *<[to]>, const char *<[from]>);
diff --git a/newlib/libc/time/strftime.c b/newlib/libc/time/strftime.c
index ea15813d8..195956fbd 100644
--- a/newlib/libc/time/strftime.c
+++ b/newlib/libc/time/strftime.c
@@ -25,8 +25,8 @@ INDEX
ANSI_SYNOPSIS
#include <time.h>
size_t strftime(char *restrict<[s]>, size_t <[maxsize]>,
- const char *restrict<[format]>,
- const struct tm *restrict<[timp]>);
+ const char *restrict <[format]>,
+ const struct tm *restrict <[timp]>);
TRAD_SYNOPSIS
#include <time.h>