summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2017-08-31 15:51:23 +0000
committerAlex Lorenz <arphaman@gmail.com>2017-08-31 15:51:23 +0000
commit469bacd2ea64679c15bb4d86adf000f2f2c27328 (patch)
treedeff263141ed1f3e8809ecfa4ff84a2e9567c558
parent140524743f5bcc63d977769b52766c8f0ee1022d (diff)
downloadlibunwind_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.h6
-rw-r--r--src/unwind_ext.h2
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);