summaryrefslogtreecommitdiff
path: root/udev/udev_selinux.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-07-30 01:45:23 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-07-30 01:45:23 +0200
commit01618658fd82dbc5e6315b639f00e87c6fee3c54 (patch)
treedf8e628d04a81186d6d431fd3b1fa50a3d34987a /udev/udev_selinux.h
parent726687ad48bdececed1e7e44387c50e009e28208 (diff)
use autotools
Diffstat (limited to 'udev/udev_selinux.h')
-rw-r--r--udev/udev_selinux.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/udev/udev_selinux.h b/udev/udev_selinux.h
index 73567d6cfe..fcdd9dbe5f 100644
--- a/udev/udev_selinux.h
+++ b/udev/udev_selinux.h
@@ -19,20 +19,17 @@
#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