From 9acf8f544b5194c7972658c3a101cc16f1ebaf9c Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Tue, 15 Aug 2006 23:08:26 +0200 Subject: [GCC4] SPARC: fix build error in arch/sparc/kernel/time.c This patch fixes this error with gcc 4 (encountered on sparc) : time.c:49: error: static declaration of 'mstk48t08_regs' follows non-static declaration /usr/src/linux-2.4.33-gcc4-sparc/include/asm/mostek.h:130: error: previous declaration of 'mstk48t08_regs' was here --- include/asm-sparc/mostek.h | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/asm-sparc/mostek.h b/include/asm-sparc/mostek.h index be60a9a..7718ffe 100644 --- a/include/asm-sparc/mostek.h +++ b/include/asm-sparc/mostek.h @@ -127,7 +127,6 @@ struct mostek48t08 { char offset[6*1024]; /* Magic things may be here, who knows? */ struct mostek48t02 regs; /* Here is what we are interested in. */ }; -extern struct mostek48t08 *mstk48t08_regs; extern enum sparc_clock_type sp_clock_typ; -- 1.4.2