kernel-ark/drivers/scsi/aic7xxx
James Bottomley f45ffaec2e [SCSI] aic7xxx: fix aicasm build failure with gcc-3.4.6
On Tue, 2007-05-22 at 06:51 -0500, Bob Tracy wrote:
> Second try: originally reported this back on April 17th.  2.6.X
> kernel builds started failing after I upgraded my compiler from
> gcc-3.3.X to gcc-3.4.6:
>
> make -C drivers/scsi/aic7xxx/aicasm
> (...)
> gcc -I/usr/include -I. aicasm.c aicasm_symbol.c aicasm_gram.c aicasm_macro_gram.c aicasm_scan.c aicasm_macro_scan.c -o aicasm -ldb
> aicasm_gram.y:1948: error: conflicting types for 'yyerror'
> aicasm_gram.tab.c:3004: error: previous implicit declaration of 'yyerror' was here
> aicasm_macro_gram.y:162: error: conflicting types for 'mmerror'
> aicasm_macro_gram.tab.c:1196: error: previous implicit declaration of 'mmerror' was here

Fix is to add a prototype for yyerror and mmerror to the relevant files.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2007-05-22 14:08:59 -05:00
..
aicasm [SCSI] aic7xxx: fix aicasm build failure with gcc-3.4.6 2007-05-22 14:08:59 -05:00
.gitignore
aic7xxx_93cx6.c
aic7xxx_93cx6.h
aic7xxx_core.c
aic7xxx_inline.h
aic7xxx_osm_pci.c
aic7xxx_osm.c
aic7xxx_osm.h header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
aic7xxx_pci.c
aic7xxx_pci.h
aic7xxx_proc.c
aic7xxx_reg_print.c_shipped
aic7xxx_reg.h_shipped
aic7xxx_seq.h_shipped
aic7xxx.h
aic7xxx.reg
aic7xxx.seq
aic79xx_core.c
aic79xx_inline.h
aic79xx_osm_pci.c
aic79xx_osm.c
aic79xx_osm.h header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
aic79xx_pci.c Fix occurrences of "the the " 2007-05-09 08:57:56 +02:00
aic79xx_pci.h
aic79xx_proc.c
aic79xx_reg_print.c_shipped
aic79xx_reg.h_shipped
aic79xx_seq.h_shipped
aic79xx.h
aic79xx.reg
aic79xx.seq
aic7770_osm.c
aic7770.c
aiclib.c
aiclib.h
cam.h
Kconfig.aic7xxx
Kconfig.aic79xx
Makefile
queue.h
scsi_iu.h
scsi_message.h