mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
util: sysinfo: 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
52e596cae7
commit
55c0ec283b
@ -19,13 +19,12 @@
|
||||
* <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBVIRT_VIRSYSINFO_H
|
||||
# define LIBVIRT_VIRSYSINFO_H
|
||||
#pragma once
|
||||
|
||||
# include "internal.h"
|
||||
# include "virutil.h"
|
||||
# include "virbuffer.h"
|
||||
# include "virenum.h"
|
||||
#include "internal.h"
|
||||
#include "virutil.h"
|
||||
#include "virbuffer.h"
|
||||
#include "virenum.h"
|
||||
|
||||
typedef enum {
|
||||
VIR_SYSINFO_SMBIOS,
|
||||
@ -152,5 +151,3 @@ bool virSysinfoIsEqual(virSysinfoDefPtr src,
|
||||
virSysinfoDefPtr dst);
|
||||
|
||||
VIR_ENUM_DECL(virSysinfo);
|
||||
|
||||
#endif /* LIBVIRT_VIRSYSINFO_H */
|
||||
|
@ -21,8 +21,7 @@
|
||||
# error "virsysinfopriv.h may only be included by virsysinfo.c or test suites"
|
||||
#endif /* LIBVIRT_VIRSYSINFOPRIV_H_ALLOW */
|
||||
|
||||
#ifndef LIBVIRT_VIRSYSINFOPRIV_H
|
||||
# define LIBVIRT_VIRSYSINFOPRIV_H
|
||||
#pragma once
|
||||
|
||||
void
|
||||
virSysinfoSetup(const char *dmidecode,
|
||||
@ -40,5 +39,3 @@ virSysinfoReadS390(void);
|
||||
|
||||
virSysinfoDefPtr
|
||||
virSysinfoReadDMI(void);
|
||||
|
||||
#endif /* LIBVIRT_VIRSYSINFOPRIV_H */
|
||||
|
Loading…
Reference in New Issue
Block a user