From 9585db77d20753f8e89c0e536ff121a930774889 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sun, 13 Aug 2006 10:45:32 +0200 Subject: [GCC4] fix build error in drivers/atm/fore200e.c This patch fixes this error with gcc 4 : fore200e.c:3175: error: static declaration of 'fore200e_ops' follows non-static declaration fore200e.c:115: error: previous declaration of 'fore200e_ops' was here fore200e.c:3198: error: static declaration of 'fore200e_bus' follows non-static declaration fore200e.c:116: error: previous declaration of 'fore200e_bus' was here --- drivers/atm/fore200e.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/atm/fore200e.c b/drivers/atm/fore200e.c index ea6ac5e..51199da 100644 --- a/drivers/atm/fore200e.c +++ b/drivers/atm/fore200e.c @@ -112,8 +112,8 @@ #define ASSERT(expr) do {} while (0) #endif -extern const struct atmdev_ops fore200e_ops; -extern const struct fore200e_bus fore200e_bus[]; +static const struct atmdev_ops fore200e_ops; +static const struct fore200e_bus fore200e_bus[]; static struct fore200e* fore200e_boards = NULL; -- 1.4.2