diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2014-09-04 08:27:03 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2014-09-04 08:27:03 +0000 |
commit | f9bafa4640b2e24394541c7f26fad61ed908fbe3 (patch) | |
tree | ce6be1413c7c083a30f39ae3a806867b47c62d15 /newlib/libc/time/strptime.c | |
parent | 4a9103c4100893d3e9e55f96b31434d17f06666d (diff) | |
download | cygnal-f9bafa4640b2e24394541c7f26fad61ed908fbe3.tar.gz cygnal-f9bafa4640b2e24394541c7f26fad61ed908fbe3.tar.bz2 cygnal-f9bafa4640b2e24394541c7f26fad61ed908fbe3.zip |
* libc/time/clock.c (clock): Fix warnings about signed-unsigned
comparisons.
* libc/time/strftime.c (strftime): Likewise.
* libc/time/strptime.c (match_string): Fix warning about discarding
'restrict' qualifier from pointer target type.
Diffstat (limited to 'newlib/libc/time/strptime.c')
-rw-r--r-- | newlib/libc/time/strptime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/time/strptime.c b/newlib/libc/time/strptime.c index d7dd7a2b2..19b9fcede 100644 --- a/newlib/libc/time/strptime.c +++ b/newlib/libc/time/strptime.c @@ -68,7 +68,7 @@ is_leap_year (int year) /* Needed for strptime. */ static int -match_string (const char **buf, const char **strs) +match_string (const char *__restrict *buf, const char **strs) { int i = 0; |