lkml.org 
[lkml]   [2003]   [Jun]   [8]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
Patch in this message
/
DateSun, 8 Jun 2003 14:51:07 +0200
FromAdrian Bunk <>
Subject[2.5 patch] 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.


--- 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/

\
 
 \ /
  Last update: 2005-03-22 12:36    [from the cache]
©2003-2008