diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-01-23 09:20:59 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-01-23 09:30:44 -0500 |
commit | c9403dced7c3eb0cc2a925c6428ca30ef8527b55 (patch) | |
tree | 93503b1e310c189b3a8e17fa16be50ec993fdce1 | |
parent | 6825a04de61f0bceab0ccddb34d825c3951caef1 (diff) |
#pragma once here and there
-rw-r--r-- | src/analyze/analyze-verify.h | 2 | ||||
-rw-r--r-- | src/compat-libs/linkwarning.h | 2 | ||||
-rw-r--r-- | src/import/import-dkr.h | 2 | ||||
-rw-r--r-- | src/libsystemd-network/dhcp-server-internal.h | 2 | ||||
-rw-r--r-- | src/resolve/resolved-dns-domain.h | 2 | ||||
-rw-r--r-- | src/shared/btrfs-util.h | 2 | ||||
-rw-r--r-- | src/shared/gpt.h | 2 | ||||
-rw-r--r-- | src/shared/gunicode.h | 2 | ||||
-rw-r--r-- | src/shared/login-shared.h | 2 | ||||
-rw-r--r-- | src/shared/sigbus.h | 2 | ||||
-rw-r--r-- | src/shared/sleep-config.h | 2 | ||||
-rw-r--r-- | src/udev/mtd_probe/mtd_probe.h | 2 | ||||
-rw-r--r-- | src/udev/scsi_id/scsi.h | 2 | ||||
-rw-r--r-- | src/udev/scsi_id/scsi_id.h | 2 | ||||
-rw-r--r-- | src/udev/udevadm-util.h | 2 |
15 files changed, 30 insertions, 0 deletions
diff --git a/src/analyze/analyze-verify.h b/src/analyze/analyze-verify.h index 5c86d9862b..f10c34c4ae 100644 --- a/src/analyze/analyze-verify.h +++ b/src/analyze/analyze-verify.h @@ -19,6 +19,8 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ +#pragma once + #include <stdbool.h> #include "path-lookup.h" diff --git a/src/compat-libs/linkwarning.h b/src/compat-libs/linkwarning.h index a2e9534a80..79ece9e7d1 100644 --- a/src/compat-libs/linkwarning.h +++ b/src/compat-libs/linkwarning.h @@ -18,6 +18,8 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ +#pragma once + #define __make_section_unallocated(section_string) \ asm (".section " section_string "\n\t.previous"); diff --git a/src/import/import-dkr.h b/src/import/import-dkr.h index 51aacbe90b..633c767965 100644 --- a/src/import/import-dkr.h +++ b/src/import/import-dkr.h @@ -19,6 +19,8 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ +#pragma once + #include "sd-event.h" #include "util.h" diff --git a/src/libsystemd-network/dhcp-server-internal.h b/src/libsystemd-network/dhcp-server-internal.h index eb7d6d44d3..58750c4418 100644 --- a/src/libsystemd-network/dhcp-server-internal.h +++ b/src/libsystemd-network/dhcp-server-internal.h @@ -20,6 +20,8 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ +#pragma once + #include "sd-event.h" #include "sd-dhcp-server.h" diff --git a/src/resolve/resolved-dns-domain.h b/src/resolve/resolved-dns-domain.h index 0888a7846f..36f27ea031 100644 --- a/src/resolve/resolved-dns-domain.h +++ b/src/resolve/resolved-dns-domain.h @@ -19,6 +19,8 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ +#pragma once + #include <sys/types.h> #include "hashmap.h" diff --git a/src/shared/btrfs-util.h b/src/shared/btrfs-util.h index d5249d1bf1..1b9c142e5c 100644 --- a/src/shared/btrfs-util.h +++ b/src/shared/btrfs-util.h @@ -19,6 +19,8 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ +#pragma once + #include <stdbool.h> #include <sys/types.h> diff --git a/src/shared/gpt.h b/src/shared/gpt.h index 87308b0d2b..add1df420f 100644 --- a/src/shared/gpt.h +++ b/src/shared/gpt.h @@ -19,6 +19,8 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ +#pragma once + #include <endian.h> #include "sd-id128.h" diff --git a/src/shared/gunicode.h b/src/shared/gunicode.h index a4b2934a4b..e70818fdd7 100644 --- a/src/shared/gunicode.h +++ b/src/shared/gunicode.h @@ -4,6 +4,8 @@ * Copyright 2000, 2005 Red Hat, Inc. */ +#pragma once + #include <stdint.h> #include <stdbool.h> #include <stdlib.h> diff --git a/src/shared/login-shared.h b/src/shared/login-shared.h index b2787c9c62..a79f20c1b1 100644 --- a/src/shared/login-shared.h +++ b/src/shared/login-shared.h @@ -19,6 +19,8 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ +#pragma once + #include <stdbool.h> bool session_id_valid(const char *id); diff --git a/src/shared/sigbus.h b/src/shared/sigbus.h index 25593af2d4..23edc6d9cb 100644 --- a/src/shared/sigbus.h +++ b/src/shared/sigbus.h @@ -19,6 +19,8 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ +#pragma once + void sigbus_install(void); void sigbus_reset(void); diff --git a/src/shared/sleep-config.h b/src/shared/sleep-config.h index 51d2dec7b4..5eda18ee38 100644 --- a/src/shared/sleep-config.h +++ b/src/shared/sleep-config.h @@ -19,6 +19,8 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ +#pragma once + int parse_sleep_config(const char *verb, char ***modes, char ***states); int can_sleep(const char *verb); diff --git a/src/udev/mtd_probe/mtd_probe.h b/src/udev/mtd_probe/mtd_probe.h index 2a37ede578..d99be9addc 100644 --- a/src/udev/mtd_probe/mtd_probe.h +++ b/src/udev/mtd_probe/mtd_probe.h @@ -17,6 +17,8 @@ * Boston, MA 02110-1301 USA */ +#pragma once + #include <mtd/mtd-user.h> /* Full oob structure as written on the flash */ diff --git a/src/udev/scsi_id/scsi.h b/src/udev/scsi_id/scsi.h index c423cac574..3f99ae7724 100644 --- a/src/udev/scsi_id/scsi.h +++ b/src/udev/scsi_id/scsi.h @@ -10,6 +10,8 @@ * Free Software Foundation version 2 of the License. */ +#pragma once + #include <scsi/scsi.h> struct scsi_ioctl_command { diff --git a/src/udev/scsi_id/scsi_id.h b/src/udev/scsi_id/scsi_id.h index 648b5ce42a..141b116a88 100644 --- a/src/udev/scsi_id/scsi_id.h +++ b/src/udev/scsi_id/scsi_id.h @@ -15,6 +15,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#pragma once + #define MAX_PATH_LEN 512 /* diff --git a/src/udev/udevadm-util.h b/src/udev/udevadm-util.h index dba651fddb..37e4fe8369 100644 --- a/src/udev/udevadm-util.h +++ b/src/udev/udevadm-util.h @@ -15,6 +15,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#pragma once + #include "udev.h" struct udev_device *find_device(struct udev *udev, |