summaryrefslogtreecommitdiff
path: root/tools/virt-host-validate-common.h
diff options
context:
space:
mode:
authorErik Skultety <eskultet@redhat.com>2016-05-10 13:37:32 +0200
committerErik Skultety <eskultet@redhat.com>2016-05-11 09:06:32 +0200
commit898c0bbea7ad3d8d9b8b978027762a9dd16ad691 (patch)
treea0da69bd118f829153eff59cb1dc7aa25976fc87 /tools/virt-host-validate-common.h
parente5aecc2f800e8e14edd561dc5af4f763f040d842 (diff)
downloadlibvirt-898c0bbea7ad3d8d9b8b978027762a9dd16ad691.tar.gz
headers: Remove unnecessary keyword extern from function declaration
Usage of this keyword in front of function declaration that is exported via a header file is unnecessary, since internally, this has been the default for most compilers for quite some time. Signed-off-by: Erik Skultety <eskultet@redhat.com>
Diffstat (limited to 'tools/virt-host-validate-common.h')
-rw-r--r--tools/virt-host-validate-common.h62
1 files changed, 31 insertions, 31 deletions
diff --git a/tools/virt-host-validate-common.h b/tools/virt-host-validate-common.h
index c14e92223f..b6fe17daa7 100644
--- a/tools/virt-host-validate-common.h
+++ b/tools/virt-host-validate-common.h
@@ -44,45 +44,45 @@ typedef enum {
VIR_ENUM_DECL(virHostValidateCPUFlag);
-extern void virHostMsgSetQuiet(bool quietFlag);
+void virHostMsgSetQuiet(bool quietFlag);
-extern void virHostMsgCheck(const char *prefix,
- const char *format,
- ...) ATTRIBUTE_FMT_PRINTF(2, 3);
+void virHostMsgCheck(const char *prefix,
+ const char *format,
+ ...) ATTRIBUTE_FMT_PRINTF(2, 3);
-extern void virHostMsgPass(void);
-extern void virHostMsgFail(virHostValidateLevel level,
- const char *format,
- ...) ATTRIBUTE_FMT_PRINTF(2, 3);
+void virHostMsgPass(void);
+void virHostMsgFail(virHostValidateLevel level,
+ const char *format,
+ ...) ATTRIBUTE_FMT_PRINTF(2, 3);
-extern int virHostValidateDeviceExists(const char *hvname,
- const char *dev_name,
- virHostValidateLevel level,
- const char *hint);
+int virHostValidateDeviceExists(const char *hvname,
+ const char *dev_name,
+ virHostValidateLevel level,
+ const char *hint);
-extern int virHostValidateDeviceAccessible(const char *hvname,
- const char *dev_name,
- virHostValidateLevel level,
- const char *hint);
+int virHostValidateDeviceAccessible(const char *hvname,
+ const char *dev_name,
+ virHostValidateLevel level,
+ const char *hint);
-extern virBitmapPtr virHostValidateGetCPUFlags(void);
+virBitmapPtr virHostValidateGetCPUFlags(void);
-extern int virHostValidateLinuxKernel(const char *hvname,
- int version,
- virHostValidateLevel level,
- const char *hint);
+int virHostValidateLinuxKernel(const char *hvname,
+ int version,
+ virHostValidateLevel level,
+ const char *hint);
-extern int virHostValidateNamespace(const char *hvname,
- const char *ns_name,
- virHostValidateLevel level,
- const char *hint);
+int virHostValidateNamespace(const char *hvname,
+ const char *ns_name,
+ virHostValidateLevel level,
+ const char *hint);
-extern int virHostValidateCGroupController(const char *hvname,
- const char *cg_name,
- virHostValidateLevel level,
- const char *config_name);
+int virHostValidateCGroupController(const char *hvname,
+ const char *cg_name,
+ virHostValidateLevel level,
+ const char *config_name);
-extern int virHostValidateIOMMU(const char *hvname,
- virHostValidateLevel level);
+int virHostValidateIOMMU(const char *hvname,
+ virHostValidateLevel level);
#endif /* __VIRT_HOST_VALIDATE_COMMON_H__ */