From d264970f79a6b8b67ee87bd995d2b73265b5673d Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 25 Nov 2013 17:55:33 +0000 Subject: 2013-11-25 Joel Sherrill * libc/iconv/lib/iconv.c, libc/time/strftime.c: Change "restrict<" to "restrict <" to fix formatting. --- newlib/ChangeLog | 5 +++++ newlib/libc/iconv/lib/iconv.c | 6 +++--- newlib/libc/time/strftime.c | 4 ++-- 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 + + * libc/iconv/lib/iconv.c, libc/time/strftime.c: Change "restrict<" to + "restrict <" to fix formatting. + 2013-11-25 Corinna Vinschen * 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 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 -- cgit v1.2.3