node_device_udev.h: Use #pragma once

Acked-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2019-04-03 13:29:22 -04:00
parent 23bda3b782
commit c12f687999

View File

@ -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"