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.
--- linux-2.5.70-mm6/include/linux/isapnp.h.old 2003-06-08 14:25:27.000000000 +0200
+++ linux-2.5.70-mm6/include/linux/isapnp.h 2003-06-08 14:25:35.000000000 +0200
@@ -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
--"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
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:18 EST