bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] fix -Wall warning


From: Hideki IWAMOTO
Subject: [PATCH] fix -Wall warning
Date: Sun, 23 Feb 2003 02:57:04 +0900

conf.c: In function `openconf':
conf.c:261: warning: implicit declaration of function `isabspath'
die.c: In function `die':
die.c:59: warning: implicit declaration of function `exit'
gtagsop.c: In function `formatcheck':
gtagsop.c:185: warning: implicit declaration of function `recover'
version.c: In function `version':
version.c:56: warning: implicit declaration of function `exit'
split.c: In function `split':
split.c:86: warning: implicit declaration of function `isspace'
global.c: In function `printtag':
global.c:617: warning: implicit declaration of function `recover'
gozilla.c: In function `getdefinitionURL':
gozilla.c:347: warning: implicit declaration of function `recover'



? libutil/.deps
? libutil/Makefile
? libutil/Makefile.in
Index: libutil/conf.c
===================================================================
RCS file: /cvsroot/global/global/libutil/conf.c,v
retrieving revision 1.28
diff -u -r1.28 conf.c
--- libutil/conf.c      11 Sep 2002 04:11:32 -0000      1.28
+++ libutil/conf.c      22 Feb 2003 17:50:55 -0000
@@ -38,6 +38,7 @@
 #include "die.h"
 #include "locatestring.h"
 #include "makepath.h"
+#include "path.h"
 #include "strbuf.h"
 #include "strlimcpy.h"
 #include "strmake.h"
Index: libutil/die.c
===================================================================
RCS file: /cvsroot/global/global/libutil/die.c,v
retrieving revision 1.6
diff -u -r1.6 die.c
--- libutil/die.c       24 Sep 2002 04:23:28 -0000      1.6
+++ libutil/die.c       22 Feb 2003 17:50:55 -0000
@@ -23,6 +23,9 @@
 #include <config.h>
 #endif
 #include <stdio.h>
+#ifdef STDC_HEADERS
+#include <stdlib.h>
+#endif
 
 #include "die.h"
 
Index: libutil/split.c
===================================================================
RCS file: /cvsroot/global/global/libutil/split.c,v
retrieving revision 1.4
diff -u -r1.4 split.c
--- libutil/split.c     22 Jul 2002 06:29:15 -0000      1.4
+++ libutil/split.c     22 Feb 2003 17:50:55 -0000
@@ -21,6 +21,7 @@
 #ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif
+#include <ctype.h>
 
 #include "split.h"
 /*
Index: libutil/split.h
===================================================================
RCS file: /cvsroot/global/global/libutil/split.h,v
retrieving revision 1.3
diff -u -r1.3 split.h
--- libutil/split.h     22 Jul 2002 06:29:15 -0000      1.3
+++ libutil/split.h     22 Feb 2003 17:50:55 -0000
@@ -33,5 +33,6 @@
 } SPLIT;
 
 int    split(char *, int, SPLIT *);
+void   recover(SPLIT *);
 
 #endif /* ! _SPLIT_H_ */
Index: libutil/version.c
===================================================================
RCS file: /cvsroot/global/global/libutil/version.c,v
retrieving revision 1.5
diff -u -r1.5 version.c
--- libutil/version.c   5 Jul 2002 07:16:47 -0000       1.5
+++ libutil/version.c   22 Feb 2003 17:50:56 -0000
@@ -22,6 +22,9 @@
 #include <config.h>
 #endif
 #include <stdio.h>
+#ifdef STDC_HEADERS
+#include <stdlib.h>
+#endif
 
 #include "version.h"
 

----
岩本 秀樹  address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]