From edc845c0c4d9c326090c075d4d0614c66016c3f4 Mon Sep 17 00:00:00 2001 From: oga Date: Sun, 11 Jan 2009 21:46:48 +0000 Subject: 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@ --- parse.y | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'parse.y') diff --git a/parse.y b/parse.y index 194185f..8df0e6e 100644 --- a/parse.y +++ b/parse.y @@ -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 @@ -54,8 +54,6 @@ int findeol(void); static struct conf *conf; -extern char *shortcut_to_name[]; - typedef struct { union { int64_t number; -- cgit v1.2.3-2-gb3c3