diff options
author | Alex Lorenz <arphaman@gmail.com> | 2017-08-31 15:51:23 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2017-08-31 15:51:23 +0000 |
commit | 469bacd2ea64679c15bb4d86adf000f2f2c27328 (patch) | |
tree | deff263141ed1f3e8809ecfa4ff84a2e9567c558 | |
parent | 140524743f5bcc63d977769b52766c8f0ee1022d (diff) | |
download | libunwind_llvm-469bacd2ea64679c15bb4d86adf000f2f2c27328.tar.gz |
Revert r312240
The buildbots have shown that -Wstrict-prototypes behaves differently in GCC
and Clang so we should keep it disabled until Clang follows GCC's behaviour
git-svn-id: https://llvm.org/svn/llvm-project/libunwind/trunk@312246 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | src/config.h | 6 | ||||
-rw-r--r-- | src/unwind_ext.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/config.h b/src/config.h index 80356d3..ac8d7d9 100644 --- a/src/config.h +++ b/src/config.h @@ -119,9 +119,9 @@ #ifdef __cplusplus extern "C" { #endif - extern bool logAPIs(void); - extern bool logUnwinding(void); - extern bool logDWARF(void); + extern bool logAPIs(); + extern bool logUnwinding(); + extern bool logDWARF(); #ifdef __cplusplus } #endif diff --git a/src/unwind_ext.h b/src/unwind_ext.h index 2964b67..c40ce6a 100644 --- a/src/unwind_ext.h +++ b/src/unwind_ext.h @@ -23,7 +23,7 @@ extern "C" { // implemented elsewhere. extern struct _Unwind_FunctionContext * -__Unwind_SjLj_GetTopOfFunctionStack(void); +__Unwind_SjLj_GetTopOfFunctionStack(); extern void __Unwind_SjLj_SetTopOfFunctionStack(struct _Unwind_FunctionContext *fc); |