chiark / gitweb /
#pragma once here and there
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 23 Jan 2015 14:20:59 +0000 (09:20 -0500)
committerZbigniew 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
src/compat-libs/linkwarning.h
src/import/import-dkr.h
src/libsystemd-network/dhcp-server-internal.h
src/resolve/resolved-dns-domain.h
src/shared/btrfs-util.h
src/shared/gpt.h
src/shared/gunicode.h
src/shared/login-shared.h
src/shared/sigbus.h
src/shared/sleep-config.h
src/udev/mtd_probe/mtd_probe.h
src/udev/scsi_id/scsi.h
src/udev/scsi_id/scsi_id.h
src/udev/udevadm-util.h

index 5c86d9862bca0f3767de63e922fd060e2abc6eef..f10c34c4aedd0976ea40696cf2bd71678d23cf27 100644 (file)
@@ -19,6 +19,8 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
+#pragma once
+
 #include <stdbool.h>
 
 #include "path-lookup.h"
index a2e9534a802fe4d0ffd2d0ec237a4567471c0713..79ece9e7d14c25c8a45126254285a3673dcd48a2 100644 (file)
@@ -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");
 
index 51aacbe90b99054047a7c7492ac3a33b6ffe2377..633c767965dc678dff76b185a1af53f9f26fe923 100644 (file)
@@ -19,6 +19,8 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
+#pragma once
+
 #include "sd-event.h"
 #include "util.h"
 
index eb7d6d44d341cb956286acd3fc57157bcb6e46e7..58750c441813807a0f44cc42baeed9e6aaf7999c 100644 (file)
@@ -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"
 
index 0888a7846f78c65e397272c9693eefdf95308896..36f27ea031ed9557eb5a37f6386d6c399b4278b7 100644 (file)
@@ -19,6 +19,8 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
  ***/
 
+#pragma once
+
 #include <sys/types.h>
 
 #include "hashmap.h"
index d5249d1bf1a5fbd8d61e4e4198ed3785a88a8149..1b9c142e5cb27b750bc1c8410c979dd5ff34799b 100644 (file)
@@ -19,6 +19,8 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
+#pragma once
+
 #include <stdbool.h>
 #include <sys/types.h>
 
index 87308b0d2b75b60c7ea53f59aa1d2249b80060eb..add1df420f6160da847d1b637e067bed36caf922 100644 (file)
@@ -19,6 +19,8 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
+#pragma once
+
 #include <endian.h>
 
 #include "sd-id128.h"
index a4b2934a4b3aea74dc2c719345abd9fef56ce87b..e70818fdd74757d3bbbf2fa6ca1d94cf960df8f7 100644 (file)
@@ -4,6 +4,8 @@
  *  Copyright 2000, 2005 Red Hat, Inc.
  */
 
+#pragma once
+
 #include <stdint.h>
 #include <stdbool.h>
 #include <stdlib.h>
index b2787c9c6282b7f2296f6afdf6cadd3c9e4131d7..a79f20c1b1e6b1a3f507de8125effeae0ae4e748 100644 (file)
@@ -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);
index 25593af2d430056bd6a411932e1d4007f2983be8..23edc6d9cbfc3b2868f1b7a47ef23b0cad6a8693 100644 (file)
@@ -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);
 
index 51d2dec7b402a066f6c0dbd8d51cbb9c24faa832..5eda18ee3884d0d4f11129c0bc6367ccdd4e714a 100644 (file)
@@ -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);
index 2a37ede578b3de040addb43131df27ae5b908b84..d99be9addcbc91553732e8fe498f2472c9cc72d1 100644 (file)
@@ -17,6 +17,8 @@
  * Boston, MA  02110-1301  USA
  */
 
+#pragma once
+
 #include <mtd/mtd-user.h>
 
 /* Full oob structure as written on the flash */
index c423cac5741d11c1bcd146ea0517cb0d8dc42428..3f99ae772445dfdc53831999acca0612a71c0d70 100644 (file)
@@ -10,6 +10,8 @@
  *        Free Software Foundation version 2 of the License.
  */
 
+#pragma once
+
 #include <scsi/scsi.h>
 
 struct scsi_ioctl_command {
index 648b5ce42a86f26082507623d3f1883157123aaf..141b116a889c5659412017e5dd1ff5977886cae4 100644 (file)
@@ -15,6 +15,8 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#pragma once
+
 #define MAX_PATH_LEN 512
 
 /*
index dba651fddb69f0034c848bdd7fb670d3dcf2662d..37e4fe8369f7ddb3b0b8eb75d17b126b9334f4a5 100644 (file)
@@ -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,