summaryrefslogtreecommitdiff
path: root/src/udev/net
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-02-16 20:05:15 +0100
committerLennart Poettering <lennart@poettering.net>2016-02-20 22:42:29 +0100
commit0ef6f4542584873e10d5c942105ad0ffc53d6108 (patch)
treef57dc0b0baf20cb9412dc823af3d4495666cf3fe /src/udev/net
parent358977458b1253f5fc1a9e81ccf0056d50b8e1b4 (diff)
tree-wide: place #pragma once at the same place everywhere
Usually, we place the #pragma once before the copyright blurb in header files, but in a few cases we didn't. Move those around, so that we do the same thing everywhere.
Diffstat (limited to 'src/udev/net')
-rw-r--r--src/udev/net/ethtool-util.h4
-rw-r--r--src/udev/net/link-config.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/udev/net/ethtool-util.h b/src/udev/net/ethtool-util.h
index 2e6e1d7150..7716516e76 100644
--- a/src/udev/net/ethtool-util.h
+++ b/src/udev/net/ethtool-util.h
@@ -1,3 +1,5 @@
+#pragma once
+
/***
This file is part of systemd.
@@ -17,8 +19,6 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#pragma once
-
#include <macro.h>
/* we can't use DUPLEX_ prefix, as it
diff --git a/src/udev/net/link-config.h b/src/udev/net/link-config.h
index f525fe2116..9df5529d05 100644
--- a/src/udev/net/link-config.h
+++ b/src/udev/net/link-config.h
@@ -1,3 +1,5 @@
+#pragma once
+
/***
This file is part of systemd.
@@ -17,8 +19,6 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#pragma once
-
#include "libudev.h"
#include "condition.h"