mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
node_device: Move fwd declaration of udevNodeRegister() into correct header file
Currently, udevNodeRegister() is forward declared in node_device_driver.h even though the function is implemented in node_device_udev.c which warrants node_device_udev.h header file. Move the declaration into the correct file. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
parent
6283e10062
commit
6f45d2c181
@ -35,6 +35,9 @@
|
||||
#include "node_device_conf.h"
|
||||
#include "node_device_event.h"
|
||||
#include "node_device_driver.h"
|
||||
#if WITH_UDEV
|
||||
# include "node_device_udev.h"
|
||||
#endif
|
||||
#include "virvhba.h"
|
||||
#include "viraccessapicheck.h"
|
||||
#include "virutil.h"
|
||||
|
@ -28,12 +28,6 @@
|
||||
|
||||
#define LINUX_NEW_DEVICE_WAIT_TIME 60
|
||||
|
||||
#ifdef WITH_UDEV
|
||||
int
|
||||
udevNodeRegister(void);
|
||||
#endif
|
||||
|
||||
|
||||
typedef enum {
|
||||
MDEVCTL_CMD_START,
|
||||
MDEVCTL_CMD_STOP,
|
||||
|
@ -19,3 +19,6 @@
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
int
|
||||
udevNodeRegister(void);
|
||||
|
Loading…
Reference in New Issue
Block a user