Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[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>

authored by

Adrian Bunk and committed by
Linus Torvalds
0072b138 001abc93

+2 -2
+2 -2
include/linux/dcookies.h
··· 48 48 49 49 #else 50 50 51 - struct dcookie_user * dcookie_register(void) 51 + static inline struct dcookie_user * dcookie_register(void) 52 52 { 53 53 return NULL; 54 54 } 55 55 56 - void dcookie_unregister(struct dcookie_user * user) 56 + static inline void dcookie_unregister(struct dcookie_user * user) 57 57 { 58 58 return; 59 59 }