summaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-05-07 13:24:40 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-05-07 13:24:40 +0200
commit4a74214a585ce3a6130ed8c5c383bc4db0112326 (patch)
tree41518d419242bc556b7e3a2d95151d6d7ab0c9ac /udev
parentd67e32aeb2b64bba0db8840f5e679d3f76b3ffc5 (diff)
add "static" back to the inline functions
<Keybuk> kay: udev git head ftbfs <Keybuk> udev-watch.o: In function `udev_selinux_init': <Keybuk> /../udev/udev.h:130: multiple definition of `udev_selinux_init'
Diffstat (limited to 'udev')
-rw-r--r--udev/udev.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/udev/udev.h b/udev/udev.h
index 478a51f3dc..abf354a668 100644
--- a/udev/udev.h
+++ b/udev/udev.h
@@ -127,11 +127,11 @@ int util_resolve_subsys_kernel(struct udev *udev, const char *string,
/* udev-selinux.c */
#ifndef USE_SELINUX
-inline void udev_selinux_init(struct udev *udev) {}
-inline void udev_selinux_exit(struct udev *udev) {}
-inline void udev_selinux_lsetfilecon(struct udev *udev, const char *file, unsigned int mode) {}
-inline void udev_selinux_setfscreatecon(struct udev *udev, const char *file, unsigned int mode) {}
-inline void udev_selinux_resetfscreatecon(struct udev *udev) {}
+static inline void udev_selinux_init(struct udev *udev) {}
+static inline void udev_selinux_exit(struct udev *udev) {}
+static inline void udev_selinux_lsetfilecon(struct udev *udev, const char *file, unsigned int mode) {}
+static inline void udev_selinux_setfscreatecon(struct udev *udev, const char *file, unsigned int mode) {}
+static inline void udev_selinux_resetfscreatecon(struct udev *udev) {}
#else
void udev_selinux_init(struct udev *udev);
void udev_selinux_exit(struct udev *udev);