mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
src/vmware: use #pragma once in headers
Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com> Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
6d5e1df53f
commit
e3331f2752
@ -18,18 +18,17 @@
|
|||||||
* <http://www.gnu.org/licenses/>.
|
* <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LIBVIRT_VMWARE_CONF_H
|
#pragma once
|
||||||
# define LIBVIRT_VMWARE_CONF_H
|
|
||||||
|
|
||||||
# define NOGUI "nogui"
|
#define NOGUI "nogui"
|
||||||
|
|
||||||
# include "internal.h"
|
#include "internal.h"
|
||||||
# include "virdomainobjlist.h"
|
#include "virdomainobjlist.h"
|
||||||
# include "virthread.h"
|
#include "virthread.h"
|
||||||
# include "virenum.h"
|
#include "virenum.h"
|
||||||
|
|
||||||
# define VIR_FROM_THIS VIR_FROM_VMWARE
|
#define VIR_FROM_THIS VIR_FROM_VMWARE
|
||||||
# define PROGRAM_SENTINEL ((char *)0x1)
|
#define PROGRAM_SENTINEL ((char *)0x1)
|
||||||
|
|
||||||
enum vmwareDriverType {
|
enum vmwareDriverType {
|
||||||
VMWARE_DRIVER_PLAYER = 0, /* VMware Player */
|
VMWARE_DRIVER_PLAYER = 0, /* VMware Player */
|
||||||
@ -85,5 +84,3 @@ int vmwareMakePath(char *srcDir, char *srcName, char *srcExt,
|
|||||||
int vmwareExtractPid(const char * vmxPath);
|
int vmwareExtractPid(const char * vmxPath);
|
||||||
|
|
||||||
char *vmwareCopyVMXFileName(const char *datastorePath, void *opaque);
|
char *vmwareCopyVMXFileName(const char *datastorePath, void *opaque);
|
||||||
|
|
||||||
#endif /* LIBVIRT_VMWARE_CONF_H */
|
|
||||||
|
@ -16,9 +16,6 @@
|
|||||||
* <http://www.gnu.org/licenses/>.
|
* <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LIBVIRT_VMWARE_DRIVER_H
|
#pragma once
|
||||||
# define LIBVIRT_VMWARE_DRIVER_H
|
|
||||||
|
|
||||||
int vmwareRegister(void);
|
int vmwareRegister(void);
|
||||||
|
|
||||||
#endif /* LIBVIRT_VMWARE_DRIVER_H */
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user