diff options
author | oga | 2009-01-11 21:46:48 +0000 |
---|---|---|
committer | oga | 2009-01-11 21:46:48 +0000 |
commit | edc845c0c4d9c326090c075d4d0614c66016c3f4 (patch) | |
tree | b12708dd4183ce1431475a2eb05519e581d0196a /parse.y | |
parent | 874349cb405359c46f243fde198acf490fb86906 (diff) | |
download | cwm-edc845c0c4d9c326090c075d4d0614c66016c3f4.tar.gz |
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 | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.14 2009/01/11 21:33:45 okan Exp $ */ +/* $OpenBSD: parse.y,v 1.15 2009/01/11 21:46:48 oga Exp $ */ /* * Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -54,8 +54,6 @@ int findeol(void); static struct conf *conf; -extern char *shortcut_to_name[]; - typedef struct { union { int64_t number; |