chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6825a04
)
#pragma once here and there
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Fri, 23 Jan 2015 14:20:59 +0000
(09:20 -0500)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Fri, 23 Jan 2015 14:30:44 +0000
(09:30 -0500)
15 files changed:
src/analyze/analyze-verify.h
patch
|
blob
|
history
src/compat-libs/linkwarning.h
patch
|
blob
|
history
src/import/import-dkr.h
patch
|
blob
|
history
src/libsystemd-network/dhcp-server-internal.h
patch
|
blob
|
history
src/resolve/resolved-dns-domain.h
patch
|
blob
|
history
src/shared/btrfs-util.h
patch
|
blob
|
history
src/shared/gpt.h
patch
|
blob
|
history
src/shared/gunicode.h
patch
|
blob
|
history
src/shared/login-shared.h
patch
|
blob
|
history
src/shared/sigbus.h
patch
|
blob
|
history
src/shared/sleep-config.h
patch
|
blob
|
history
src/udev/mtd_probe/mtd_probe.h
patch
|
blob
|
history
src/udev/scsi_id/scsi.h
patch
|
blob
|
history
src/udev/scsi_id/scsi_id.h
patch
|
blob
|
history
src/udev/udevadm-util.h
patch
|
blob
|
history
diff --git
a/src/analyze/analyze-verify.h
b/src/analyze/analyze-verify.h
index 5c86d9862bca0f3767de63e922fd060e2abc6eef..f10c34c4aedd0976ea40696cf2bd71678d23cf27 100644
(file)
--- 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/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#pragma once
+
#include <stdbool.h>
#include "path-lookup.h"
#include <stdbool.h>
#include "path-lookup.h"
diff --git
a/src/compat-libs/linkwarning.h
b/src/compat-libs/linkwarning.h
index a2e9534a802fe4d0ffd2d0ec237a4567471c0713..79ece9e7d14c25c8a45126254285a3673dcd48a2 100644
(file)
--- 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/>.
***/
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");
#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 51aacbe90b99054047a7c7492ac3a33b6ffe2377..633c767965dc678dff76b185a1af53f9f26fe923 100644
(file)
--- 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/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#pragma once
+
#include "sd-event.h"
#include "util.h"
#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 eb7d6d44d341cb956286acd3fc57157bcb6e46e7..58750c441813807a0f44cc42baeed9e6aaf7999c 100644
(file)
--- 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/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#pragma once
+
#include "sd-event.h"
#include "sd-dhcp-server.h"
#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 0888a7846f78c65e397272c9693eefdf95308896..36f27ea031ed9557eb5a37f6386d6c399b4278b7 100644
(file)
--- 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/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#pragma once
+
#include <sys/types.h>
#include "hashmap.h"
#include <sys/types.h>
#include "hashmap.h"
diff --git
a/src/shared/btrfs-util.h
b/src/shared/btrfs-util.h
index d5249d1bf1a5fbd8d61e4e4198ed3785a88a8149..1b9c142e5cb27b750bc1c8410c979dd5ff34799b 100644
(file)
--- 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/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#pragma once
+
#include <stdbool.h>
#include <sys/types.h>
#include <stdbool.h>
#include <sys/types.h>
diff --git
a/src/shared/gpt.h
b/src/shared/gpt.h
index 87308b0d2b75b60c7ea53f59aa1d2249b80060eb..add1df420f6160da847d1b637e067bed36caf922 100644
(file)
--- 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/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#pragma once
+
#include <endian.h>
#include "sd-id128.h"
#include <endian.h>
#include "sd-id128.h"
diff --git
a/src/shared/gunicode.h
b/src/shared/gunicode.h
index a4b2934a4b3aea74dc2c719345abd9fef56ce87b..e70818fdd74757d3bbbf2fa6ca1d94cf960df8f7 100644
(file)
--- a/
src/shared/gunicode.h
+++ b/
src/shared/gunicode.h
@@
-4,6
+4,8
@@
* Copyright 2000, 2005 Red Hat, Inc.
*/
* Copyright 2000, 2005 Red Hat, Inc.
*/
+#pragma once
+
#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>
diff --git
a/src/shared/login-shared.h
b/src/shared/login-shared.h
index b2787c9c6282b7f2296f6afdf6cadd3c9e4131d7..a79f20c1b1e6b1a3f507de8125effeae0ae4e748 100644
(file)
--- 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/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#pragma once
+
#include <stdbool.h>
bool session_id_valid(const char *id);
#include <stdbool.h>
bool session_id_valid(const char *id);
diff --git
a/src/shared/sigbus.h
b/src/shared/sigbus.h
index 25593af2d430056bd6a411932e1d4007f2983be8..23edc6d9cbfc3b2868f1b7a47ef23b0cad6a8693 100644
(file)
--- 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/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#pragma once
+
void sigbus_install(void);
void sigbus_reset(void);
void sigbus_install(void);
void sigbus_reset(void);
diff --git
a/src/shared/sleep-config.h
b/src/shared/sleep-config.h
index 51d2dec7b402a066f6c0dbd8d51cbb9c24faa832..5eda18ee3884d0d4f11129c0bc6367ccdd4e714a 100644
(file)
--- 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/>.
***/
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);
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 2a37ede578b3de040addb43131df27ae5b908b84..d99be9addcbc91553732e8fe498f2472c9cc72d1 100644
(file)
--- 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
*/
* Boston, MA 02110-1301 USA
*/
+#pragma once
+
#include <mtd/mtd-user.h>
/* Full oob structure as written on the flash */
#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 c423cac5741d11c1bcd146ea0517cb0d8dc42428..3f99ae772445dfdc53831999acca0612a71c0d70 100644
(file)
--- 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.
*/
* Free Software Foundation version 2 of the License.
*/
+#pragma once
+
#include <scsi/scsi.h>
struct scsi_ioctl_command {
#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 648b5ce42a86f26082507623d3f1883157123aaf..141b116a889c5659412017e5dd1ff5977886cae4 100644
(file)
--- 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/>.
*/
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
#define MAX_PATH_LEN 512
/*
#define MAX_PATH_LEN 512
/*
diff --git
a/src/udev/udevadm-util.h
b/src/udev/udevadm-util.h
index dba651fddb69f0034c848bdd7fb670d3dcf2662d..37e4fe8369f7ddb3b0b8eb75d17b126b9334f4a5 100644
(file)
--- 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/>.
*/
* 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,
#include "udev.h"
struct udev_device *find_device(struct udev *udev,