提交 99527e9e 编写于 作者: J Jonathon Jongsma 提交者: Ján Tomko

src/admin: use #pragma once in headers

Signed-off-by: NJonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: NJán Tomko <jtomko@redhat.com>
Signed-off-by: NJán Tomko <jtomko@redhat.com>
上级 bed1143f
......@@ -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 */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册