mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
src/admin: 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
bed1143ff5
commit
99527e9e0c
@ -18,11 +18,10 @@
|
||||
* <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBVIRT_ADMIN_SERVER_H
|
||||
# define LIBVIRT_ADMIN_SERVER_H
|
||||
#pragma once
|
||||
|
||||
# include "rpc/virnetdaemon.h"
|
||||
# include "rpc/virnetserver.h"
|
||||
#include "rpc/virnetdaemon.h"
|
||||
#include "rpc/virnetserver.h"
|
||||
|
||||
int adminConnectListServers(virNetDaemonPtr dmn,
|
||||
virNetServerPtr **servers,
|
||||
@ -68,5 +67,3 @@ int adminServerSetClientLimits(virNetServerPtr srv,
|
||||
virTypedParameterPtr params,
|
||||
int nparams,
|
||||
unsigned int flags);
|
||||
|
||||
#endif /* LIBVIRT_ADMIN_SERVER_H */
|
||||
|
@ -18,12 +18,11 @@
|
||||
* <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBVIRT_ADMIN_SERVER_DISPATCH_H
|
||||
# define LIBVIRT_ADMIN_SERVER_DISPATCH_H
|
||||
#pragma once
|
||||
|
||||
# include "rpc/virnetserverprogram.h"
|
||||
# include "rpc/virnetserverclient.h"
|
||||
# include "admin/admin_protocol.h"
|
||||
#include "rpc/virnetserverprogram.h"
|
||||
#include "rpc/virnetserverclient.h"
|
||||
#include "admin/admin_protocol.h"
|
||||
|
||||
|
||||
extern virNetServerProgramProc adminProcs[];
|
||||
@ -36,5 +35,3 @@ void *remoteAdmClientNewPostExecRestart(virNetServerClientPtr client,
|
||||
void *opaque);
|
||||
virJSONValuePtr remoteAdmClientPreExecRestart(virNetServerClientPtr client,
|
||||
void *data);
|
||||
|
||||
#endif /* LIBVIRT_ADMIN_SERVER_DISPATCH_H */
|
||||
|
Loading…
Reference in New Issue
Block a user