public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.5 patch] add returntypes to two funxtions in isapnp.h
@ 2003-06-08 12:51 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2003-06-08 12:51 UTC (permalink / raw)
  To: perex; +Cc: trivial, linux-kernel

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-06-08 12:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-08 12:51 [2.5 patch] add returntypes to two funxtions in isapnp.h Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox