mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 22:55:23 +00:00
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:
parent
23bda3b782
commit
c12f687999
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user