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:
Jonathon Jongsma 2019-06-07 15:20:14 -05:00 committed by Ján Tomko
parent bed1143ff5
commit 99527e9e0c
2 changed files with 7 additions and 13 deletions

View File

@ -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 */

View File

@ -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 */