diff options
author | oga <oga> | 2009-01-11 21:46:48 +0000 |
---|---|---|
committer | oga <oga> | 2009-01-11 21:46:48 +0000 |
commit | d1050afb6001ef6134b816b21867466195153ecb (patch) | |
tree | c842d242d3dcfb4144c9594ae96926a29d76614a /parse.y | |
parent | dcfae161a2a0d58ece35336c0749079fcbf77097 (diff) | |
download | cwm-d1050afb6001ef6134b816b21867466195153ecb.tar.gz cwm-d1050afb6001ef6134b816b21867466195153ecb.tar.xz cwm-d1050afb6001ef6134b816b21867466195153ecb.zip |
shortcut_to_name should not be defined as static in a header file. Put
it in group.c where it it used most, and add an extern definition for the other users of it. Found by gcc -Wall. ok okan@
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/parse.y b/parse.y index d0d05d7..9e69b91 100644 --- a/parse.y +++ b/parse.y @@ -54,8 +54,6 @@ int findeol(void); static struct conf *conf; -extern char *shortcut_to_name[]; - typedef struct { union { int64_t number; |