[2.6 patch] include/linux/dcookies.h: dummy functions must be "static inline"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We don't want these to be global functions.


Signed-off-by: Adrian Bunk <[email protected]>

---

This patch was already sent on:
- 26 Jul 2005

--- linux-2.6.13-rc3-mm1-full/include/linux/dcookies.h.old	2005-07-26 11:15:22.000000000 +0200
+++ linux-2.6.13-rc3-mm1-full/include/linux/dcookies.h	2005-07-26 11:15:38.000000000 +0200
@@ -48,12 +48,12 @@
 
 #else
 
-struct dcookie_user * dcookie_register(void)
+static inline struct dcookie_user * dcookie_register(void)
 {
 	return NULL;
 }
 
-void dcookie_unregister(struct dcookie_user * user)
+static inline void dcookie_unregister(struct dcookie_user * user)
 {
 	return;
 }

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux