summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-17 15:36:26 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-17 15:51:54 +0200
commita15715c34309416e76ebd2007a51ff6c42f28817 (patch)
tree8794c25b33abbcd8b050fe71dbd6576949741f0e /include
parent6fcc7efad066d6f3804196f3d3fbddd6a0a485cb (diff)
-Wstrict-prototypes
...no reason to not have it enabled for URE C include files and what little real C code is still left. (But note that Clang ignores that warning.) Change-Id: Ia6940f9f940a0c226e9b724331d65c9862ce32e6
Diffstat (limited to 'include')
-rw-r--r--include/rtl/locale.h2
-rw-r--r--include/rtl/process.h2
-rw-r--r--include/sal/main.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/rtl/locale.h b/include/rtl/locale.h
index e302be41f0b1..e410e025a5e8 100644
--- a/include/rtl/locale.h
+++ b/include/rtl/locale.h
@@ -83,7 +83,7 @@ SAL_DLLPUBLIC rtl_Locale * SAL_CALL rtl_locale_register(
for different fields, e.g. in a spreadsheet.
<BR>Note that the initial setting will match the host system.
*/
-SAL_DLLPUBLIC rtl_Locale * SAL_CALL rtl_locale_getDefault();
+SAL_DLLPUBLIC rtl_Locale * SAL_CALL rtl_locale_getDefault(void);
/**
Sets the default.
diff --git a/include/rtl/process.h b/include/rtl/process.h
index 2213beab19eb..bd55a3a87dce 100644
--- a/include/rtl/process.h
+++ b/include/rtl/process.h
@@ -68,7 +68,7 @@ SAL_DLLPUBLIC oslProcessError SAL_CALL rtl_getAppCommandArg(sal_uInt32 nArg, rtl
@see osl_getCommandArgCount()
@see rtl_getCommandArg()
*/
-SAL_DLLPUBLIC sal_uInt32 SAL_CALL rtl_getAppCommandArgCount();
+SAL_DLLPUBLIC sal_uInt32 SAL_CALL rtl_getAppCommandArgCount(void);
#ifdef __cplusplus
}
diff --git a/include/sal/main.h b/include/sal/main.h
index 5d21b250b552..7c79fad5f0f9 100644
--- a/include/sal/main.h
+++ b/include/sal/main.h
@@ -34,7 +34,7 @@ extern "C" {
#endif
SAL_DLLPUBLIC void SAL_CALL sal_detail_initialize(int argc, char ** argv);
-SAL_DLLPUBLIC void SAL_CALL sal_detail_deinitialize();
+SAL_DLLPUBLIC void SAL_CALL sal_detail_deinitialize(void);
#if defined IOS || defined ANDROID