summaryrefslogtreecommitdiff
path: root/src/udev
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/udev
parent6825a04de61f0bceab0ccddb34d825c3951caef1 (diff)
#pragma once here and there
Diffstat (limited to 'src/udev')
-rw-r--r--src/udev/mtd_probe/mtd_probe.h2
-rw-r--r--src/udev/scsi_id/scsi.h2
-rw-r--r--src/udev/scsi_id/scsi_id.h2
-rw-r--r--src/udev/udevadm-util.h2
4 files changed, 8 insertions, 0 deletions
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,