diff --git a/bind-mount.h b/bind-mount.h index c23a50b..c763763 100644 --- a/bind-mount.h +++ b/bind-mount.h @@ -16,8 +16,7 @@ * */ -#ifndef __MOUNTS_H__ -#define __MOUNTS_H__ +#pragma once typedef enum { BIND_READONLY = (1 << 0), @@ -29,5 +28,3 @@ int bind_mount (int proc_fd, const char *src, const char *dest, bind_option_t options); - -#endif /* __MOUNTS_H__ */ diff --git a/network.h b/network.h index 559bb50..d712d91 100644 --- a/network.h +++ b/network.h @@ -16,9 +16,6 @@ * */ -#ifndef __NETWORK_H__ -#define __NETWORK_H__ +#pragma once int loopback_setup (void); - -#endif /* __NETWORK_H__ */ diff --git a/utils.h b/utils.h index 539dbd7..9a504ec 100644 --- a/utils.h +++ b/utils.h @@ -16,8 +16,7 @@ * */ -#ifndef __UTILS_H__ -#define __UTILS_H__ +#pragma once #include #include @@ -163,5 +162,3 @@ steal_pointer (void *pp) /* type safety */ #define steal_pointer(pp) \ (0 ? (*(pp)) : (steal_pointer) (pp)) - -#endif /* __UTILS_H__ */