Kaydet (Commit) 2e54c5a0 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wstrict-prototypes (clang-cl)

(sal/inc/rtllifecycle.h only hits on Windows as that is the only platform that happens to
actually include it in a C compilation unit, sal/osl/w32/dllentry.c)

Change-Id: I2878b52daf713ea45eaa2968cc5d2686b86abfe6
üst 5d50612b
...@@ -35,11 +35,11 @@ ...@@ -35,11 +35,11 @@
#define MY_LENGTH(s) (sizeof (s) / sizeof *(s) - 1) #define MY_LENGTH(s) (sizeof (s) / sizeof *(s) - 1)
char const* getPath(); char const* getPath(void);
char* createCommandLine( char* lpCmdLine ); char* createCommandLine( char* lpCmdLine );
FILE* getErrorFile( int create ); FILE* getErrorFile( int create );
void writeError( const char* errstr ); void writeError( const char* errstr );
void closeErrorFile(); void closeErrorFile(void);
/* /*
* The main function implements a loader for applications which use UNO. * The main function implements a loader for applications which use UNO.
......
...@@ -14,29 +14,29 @@ ...@@ -14,29 +14,29 @@
extern "C" { extern "C" {
#endif #endif
void rtl_arena_init(); void rtl_arena_init(void);
void rtl_arena_fini(); void rtl_arena_fini(void);
void ensureArenaSingleton(); void ensureArenaSingleton(void);
void rtl_cache_init(); void rtl_cache_init(void);
void rtl_cache_fini(); void rtl_cache_fini(void);
void ensureCacheSingleton(); void ensureCacheSingleton(void);
void rtl_memory_init(); void rtl_memory_init(void);
void rtl_memory_fini(); void rtl_memory_fini(void);
void ensureMemorySingleton(); void ensureMemorySingleton(void);
void rtl_locale_init(); void rtl_locale_init(void);
void rtl_locale_fini(); void rtl_locale_fini(void);
void ensureLocaleSingleton(); void ensureLocaleSingleton(void);
#if defined __cplusplus #if defined __cplusplus
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment