mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05:00
tools: 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:
committed by
Ján Tomko
parent
c35d8a7d5e
commit
a325763ff1
+3
-6
@@ -18,17 +18,16 @@
|
||||
* <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBVIRT_VIRSH_POOL_H
|
||||
# define LIBVIRT_VIRSH_POOL_H
|
||||
#pragma once
|
||||
|
||||
# include "virsh.h"
|
||||
#include "virsh.h"
|
||||
|
||||
virStoragePoolPtr
|
||||
virshCommandOptPoolBy(vshControl *ctl, const vshCmd *cmd, const char *optname,
|
||||
const char **name, unsigned int flags);
|
||||
|
||||
/* default is lookup by Name and UUID */
|
||||
# define virshCommandOptPool(_ctl, _cmd, _optname, _name) \
|
||||
#define virshCommandOptPool(_ctl, _cmd, _optname, _name) \
|
||||
virshCommandOptPoolBy(_ctl, _cmd, _optname, _name, \
|
||||
VIRSH_BYUUID | VIRSH_BYNAME)
|
||||
|
||||
@@ -41,5 +40,3 @@ typedef struct virshPoolEventCallback virshPoolEventCallback;
|
||||
extern virshPoolEventCallback virshPoolEventCallbacks[];
|
||||
|
||||
extern const vshCmdDef storagePoolCmds[];
|
||||
|
||||
#endif /* LIBVIRT_VIRSH_POOL_H */
|
||||
|
||||
Reference in New Issue
Block a user