mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 15:15:25 +00:00
node_device_driver.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
ac41ffb8fa
commit
23bda3b782
@ -19,24 +19,23 @@
|
|||||||
* <http://www.gnu.org/licenses/>.
|
* <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LIBVIRT_NODE_DEVICE_DRIVER_H
|
#pragma once
|
||||||
# define LIBVIRT_NODE_DEVICE_DRIVER_H
|
|
||||||
|
|
||||||
# include "internal.h"
|
#include "internal.h"
|
||||||
# include "driver.h"
|
#include "driver.h"
|
||||||
# include "virnodedeviceobj.h"
|
#include "virnodedeviceobj.h"
|
||||||
|
|
||||||
# define LINUX_NEW_DEVICE_WAIT_TIME 60
|
#define LINUX_NEW_DEVICE_WAIT_TIME 60
|
||||||
|
|
||||||
# ifdef WITH_HAL
|
#ifdef WITH_HAL
|
||||||
int
|
int
|
||||||
halNodeRegister(void);
|
halNodeRegister(void);
|
||||||
# endif
|
#endif
|
||||||
|
|
||||||
# ifdef WITH_UDEV
|
#ifdef WITH_UDEV
|
||||||
int
|
int
|
||||||
udevNodeRegister(void);
|
udevNodeRegister(void);
|
||||||
# endif
|
#endif
|
||||||
|
|
||||||
void
|
void
|
||||||
nodeDeviceLock(void);
|
nodeDeviceLock(void);
|
||||||
@ -117,5 +116,3 @@ nodeConnectNodeDeviceEventRegisterAny(virConnectPtr conn,
|
|||||||
int
|
int
|
||||||
nodeConnectNodeDeviceEventDeregisterAny(virConnectPtr conn,
|
nodeConnectNodeDeviceEventDeregisterAny(virConnectPtr conn,
|
||||||
int callbackID);
|
int callbackID);
|
||||||
|
|
||||||
#endif /* LIBVIRT_NODE_DEVICE_DRIVER_H */
|
|
||||||
|
Loading…
Reference in New Issue
Block a user