From: Adrian Bunk Date: Tue, 2 Aug 2005 04:11:39 +0000 (-0700) Subject: [PATCH] include/linux/dcookies.h: dummy functions must be "static inline" X-Git-Tag: v2.6.13-rc5~10 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0072b1389c25355ccc01048114adb9652c13fd9f;p=linux-2.6-omap-h63xx.git [PATCH] include/linux/dcookies.h: dummy functions must be "static inline" We don't want these to be global functions. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/dcookies.h b/include/linux/dcookies.h index c2805013616..1d68428c925 100644 --- a/include/linux/dcookies.h +++ b/include/linux/dcookies.h @@ -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; }