[2.6 patch] include/linux/dcookies.h: dummy functions must be "static inline"

From: Adrian Bunk
Date: Tue Jul 26 2005 - 10:00:48 EST


We don't want these to be global functions.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- 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;
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/