This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: remove warnings
- From: "Artem B. Bityuckiy" <abityuckiy at yandex dot ru>
- To: "Artem B. Bityuckiy" <abityuckiy at yandex dot ru>
- Cc: newlib at sources dot redhat dot com
- Date: Thu, 01 Apr 2004 21:03:06 +0400
- Subject: Re: remove warnings
- References: <406C4AB3.9080107@yandex.ru>
Sorry, here is the diff.
Artem B. Bityuckiy wrote:
Hello.
I usualy compile Newlib with -Wall flag and there are seferal annoying
warnings. Attached patch removes some of them.
strptime.c - remve "implicit declaration" warnings for strlen, abort,
isspace, etc.
--
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.
--- strptime.c 2004-04-01 20:54:35.000000000 +0400
+++ strptime_new.c 2004-04-01 20:57:18.000000000 +0400
@@ -33,6 +33,9 @@
#include <stddef.h>
#include <stdio.h>
#include <time.h>
+#include <string.h>
+#include <ctype.h>
+#include <stdlib.h>
static const char *abb_weekdays[] = {
"Sun",