* [2.6 patch] include/linux/dcookies.h: dummy functions must be "static inline"
@ 2005-07-31 22:26 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-07-31 22:26 UTC (permalink / raw)
To: Andrew Morton; +Cc: John Levon, linux-kernel
We don't want these to be global functions.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
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;
}
^ permalink raw reply [flat|nested] 2+ messages in thread* [2.6 patch] include/linux/dcookies.h: dummy functions must be "static inline"
@ 2005-07-26 14:54 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-07-26 14:54 UTC (permalink / raw)
To: John Levon; +Cc: linux-kernel
We don't want these to be global functions.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- 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;
}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-07-31 22:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-31 22:26 [2.6 patch] include/linux/dcookies.h: dummy functions must be "static inline" Adrian Bunk
-- strict thread matches above, loose matches on Subject: below --
2005-07-26 14:54 Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox