summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-03-24 18:47:23 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-03-24 19:52:16 -0700
commit42ee120e8c49c5f9aaba35689e09f9ecef407758 (patch)
tree68d73306595d0556be18cfaad64243b23f4a2b4d /main.c
parentc7c7197d265a299c82c6629fba867730aad81375 (diff)
Fix gcc, sparse & lint warnings
cppsetup.c:74:9: warning: Using plain integer as NULL pointer parse.c: In function `gobble': parse.c:94: warning: int format, long int arg (arg 2) parse.c: In function `find_includes': parse.c:641: warning: int format, long int arg (arg 2) parse.c:664: warning: int format, long int arg (arg 2) parse.c:677: warning: int format, long int arg (arg 2) parse.c:684: warning: int format, long int arg (arg 2) pr.c: In function `add_include': pr.c:57: warning: int format, long int arg (arg 4) pr.c:59: warning: int format, long int arg (arg 3) declared global, could be static sig_act main.c(142) predefs main.c:imakemdep.h(51) Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 802ef3d..46e7c73 100644
--- a/main.c
+++ b/main.c
@@ -143,7 +143,7 @@ catch (int sig)
#define sa_mask sv_mask
#define sa_flags sv_flags
#endif
-struct sigaction sig_act;
+static struct sigaction sig_act;
#endif /* USGISH */
#ifndef USING_AUTOCONF