add returntypes to two funxtions in isapnp.h
PATCH 1/1 add returntypes to two funxtions in isapnp.h
The following patch adds the missing return types (that give compile warnings) to two dummy functions in isapp.h for !CONFIG_PROC_FS. I've tested the compilation with 2.5.70-mm6.
include/linux/isapnp.h renamed from include/linux/isapnp.h.old +2 -2
@@ -115,8 +115,8 @@int isapnp_proc_init (void );int isapnp_proc_done (void );#else -static inline isapnp_proc_init (void) {return 0 ; } -static inline isapnp_proc_done (void) {return 0 ; } +static inline int isapnp_proc_init (void ) {return 0 ; } +static inline int isapnp_proc_done (void ) {return 0 ; }#endif /* init/main.c */
cu
Adrian
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed