diff options
-rw-r--r-- | udev/udev.h | 10 |
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); |