This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: remove warnings


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",

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]