Some of the functions in the storage driver had their headers formatted
incorrectly.
---
src/security/security_driver.h | 6 +++---
src/security/security_manager.h | 9 ++++-----
src/security/security_stack.c | 4 ++--
3 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/src/security/security_driver.h b/src/security/security_driver.h
index 05d612a..062dc8f 100644
--- a/src/security/security_driver.h
+++ b/src/security/security_driver.h
@@ -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;
diff --git a/src/security/security_manager.h b/src/security/security_manager.h
index 307e1c2..8a5fcfb 100644
--- a/src/security/security_manager.h
+++ b/src/security/security_manager.h
@@ -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__ */
diff --git a/src/security/security_stack.c b/src/security/security_stack.c
index 7f210b2..e3e9c85 100644
--- a/src/security/security_stack.c
+++ b/src/security/security_stack.c
@@ -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;
--
1.9.3