chiark / gitweb /
use autotools
[elogind.git] / udev / udev_selinux.h
index 73567d6cfebe7bff881ff116f3190f3d756ea1af..fcdd9dbe5fa4cbe775b9130df74a91db985912ac 100644 (file)
 #define _UDEV_SELINUX_H
 
 #ifdef USE_SELINUX
-
 extern void selinux_setfilecon(const char *file, const char *devname, unsigned int mode);
 extern void selinux_setfscreatecon(const char *file, const char *devname, unsigned int mode);
 extern void selinux_resetfscreatecon(void);
 extern void selinux_init(void);
 extern void selinux_exit(void);
-
 #else
-
 static inline void selinux_setfilecon(const char *file, const char *devname, unsigned int mode) {}
 static inline void selinux_setfscreatecon(const char *file, const char *devname, unsigned int mode) {}
 static inline void selinux_resetfscreatecon(void) {}
 static inline void selinux_init(void) {}
 static inline void selinux_exit(void) {}
+#endif
 
-#endif /* USE_SELINUX */
-#endif /* _UDEV_USE_SELINUX */
+#endif