mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-05 13:17:51 +03:00
security: Fix header formatting of a few functions
Some of the functions in the storage driver had their headers formatted incorrectly.
This commit is contained in:
parent
8b641f44fc
commit
9e1b2cff8e
@ -108,10 +108,10 @@ typedef int (*virSecurityDomainSetTapFDLabel) (virSecurityManagerPtr mgr,
|
||||
virDomainDefPtr def,
|
||||
int fd);
|
||||
typedef char *(*virSecurityDomainGetMountOptions) (virSecurityManagerPtr mgr,
|
||||
virDomainDefPtr def);
|
||||
virDomainDefPtr def);
|
||||
typedef int (*virSecurityDomainSetHugepages) (virSecurityManagerPtr mgr,
|
||||
virDomainDefPtr def,
|
||||
const char *path);
|
||||
virDomainDefPtr def,
|
||||
const char *path);
|
||||
|
||||
struct _virSecurityDriver {
|
||||
size_t privateDataLen;
|
||||
|
@ -118,11 +118,10 @@ int virSecurityManagerSetTapFDLabel(virSecurityManagerPtr mgr,
|
||||
virDomainDefPtr vm,
|
||||
int fd);
|
||||
char *virSecurityManagerGetMountOptions(virSecurityManagerPtr mgr,
|
||||
virDomainDefPtr vm);
|
||||
virSecurityManagerPtr*
|
||||
virSecurityManagerGetNested(virSecurityManagerPtr mgr);
|
||||
virDomainDefPtr vm);
|
||||
virSecurityManagerPtr* virSecurityManagerGetNested(virSecurityManagerPtr mgr);
|
||||
int virSecurityManagerSetHugepages(virSecurityManagerPtr mgr,
|
||||
virDomainDefPtr sec,
|
||||
const char *hugepages_path);
|
||||
virDomainDefPtr sec,
|
||||
const char *hugepages_path);
|
||||
|
||||
#endif /* VIR_SECURITY_MANAGER_H__ */
|
||||
|
@ -513,8 +513,8 @@ virSecurityStackSetTapFDLabel(virSecurityManagerPtr mgr,
|
||||
|
||||
static int
|
||||
virSecurityStackSetHugepages(virSecurityManagerPtr mgr,
|
||||
virDomainDefPtr vm,
|
||||
const char *path)
|
||||
virDomainDefPtr vm,
|
||||
const char *path)
|
||||
{
|
||||
virSecurityStackDataPtr priv = virSecurityManagerGetPrivateData(mgr);
|
||||
virSecurityStackItemPtr item = priv->itemsHead;
|
||||
|
Loading…
Reference in New Issue
Block a user