summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-01-23 09:20:59 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-01-23 09:30:44 -0500
commitc9403dced7c3eb0cc2a925c6428ca30ef8527b55 (patch)
tree93503b1e310c189b3a8e17fa16be50ec993fdce1 /src/shared
parent6825a04de61f0bceab0ccddb34d825c3951caef1 (diff)
#pragma once here and there
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/btrfs-util.h2
-rw-r--r--src/shared/gpt.h2
-rw-r--r--src/shared/gunicode.h2
-rw-r--r--src/shared/login-shared.h2
-rw-r--r--src/shared/sigbus.h2
-rw-r--r--src/shared/sleep-config.h2
6 files changed, 12 insertions, 0 deletions
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);