Signed-off-by: Cole Robinson <crobinso(a)redhat.com>
---
src/node_device/node_device_udev.h | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/src/node_device/node_device_udev.h b/src/node_device/node_device_udev.h
index 8c1d8fec1d..996677dfe0 100644
--- a/src/node_device/node_device_udev.h
+++ b/src/node_device/node_device_udev.h
@@ -18,13 +18,10 @@
* <
http://www.gnu.org/licenses/>.
*/
-#ifndef LIBVIRT_NODE_DEVICE_UDEV_H
-# define LIBVIRT_NODE_DEVICE_UDEV_H
+#pragma once
-# include <libudev.h>
+#include <libudev.h>
-# define SYSFS_DATA_SIZE 4096
-# define DMI_DEVPATH "/sys/devices/virtual/dmi/id"
-# define DMI_DEVPATH_FALLBACK "/sys/class/dmi/id"
-
-#endif /* LIBVIRT_NODE_DEVICE_UDEV_H */
+#define SYSFS_DATA_SIZE 4096
+#define DMI_DEVPATH "/sys/devices/virtual/dmi/id"
+#define DMI_DEVPATH_FALLBACK "/sys/class/dmi/id"
--
2.21.0