Signed-off-by: Jonathon Jongsma <jjongsma@xxxxxxxxxx> --- src/admin/admin_server.h | 9 +++------ src/admin/admin_server_dispatch.h | 11 ++++------- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/src/admin/admin_server.h b/src/admin/admin_server.h index 43f2b85fc1..1d5cbec55f 100644 --- a/src/admin/admin_server.h +++ b/src/admin/admin_server.h @@ -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 */ diff --git a/src/admin/admin_server_dispatch.h b/src/admin/admin_server_dispatch.h index 5316b89313..f39757a13a 100644 --- a/src/admin/admin_server_dispatch.h +++ b/src/admin/admin_server_dispatch.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 */ -- 2.20.1 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list