[PATCH] include/linux/dcookies.h: dummy functions must be "static inline"
authorAdrian Bunk <bunk@stusta.de>
Tue, 2 Aug 2005 04:11:39 +0000 (21:11 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 2 Aug 2005 04:37:59 +0000 (21:37 -0700)
We don't want these to be global functions.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/dcookies.h

index c28050136164f239f15486abcd41a7aa132f3d90..1d68428c925db1425ab43db4bd93b06ceca636b7 100644 (file)
@@ -48,12 +48,12 @@ int get_dcookie(struct dentry * dentry, struct vfsmount * vfsmnt,
 
 #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;
 }