summaryrefslogtreecommitdiffstats
path: root/include/linux/dcookies.h
diff options
context:
space:
mode:
authorAdrian Bunk2005-08-02 06:11:39 +0200
committerLinus Torvalds2005-08-02 06:37:59 +0200
commit0072b1389c25355ccc01048114adb9652c13fd9f (patch)
treeb3890c3bb22f6bad5174482af86378794fcc9d26 /include/linux/dcookies.h
parent[PATCH] v4l: bug fix to correct tea5767 autodetection (diff)
downloadkernel-qcow2-linux-0072b1389c25355ccc01048114adb9652c13fd9f.tar.gz
kernel-qcow2-linux-0072b1389c25355ccc01048114adb9652c13fd9f.tar.xz
kernel-qcow2-linux-0072b1389c25355ccc01048114adb9652c13fd9f.zip
[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 <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/dcookies.h')
-rw-r--r--include/linux/dcookies.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/dcookies.h b/include/linux/dcookies.h
index c28050136164..1d68428c925d 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;
}