Skip to contentSkip to conversation

include/linux/dcookies.h: dummy functions must be "static inline"

PATCH New Adrian Bunk 1 participant 1 message Jul 31, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 include/linux/dcookies.h: dummy functions must be "static inline"

We don't want these to be global functions.

---

This patch was already sent on:
- 26 Jul 2005

include/linux/dcookies.h renamed from include/linux/dcookies.h.old +2 -2
@@ -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;
 }