[libunwind] r312246 - Revert r312240

Alex Lorenz via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 31 08:51:23 PDT 2017


Author: arphaman
Date: Thu Aug 31 08:51:23 2017
New Revision: 312246

URL: http://llvm.org/viewvc/llvm-project?rev=312246&view=rev
Log:
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

Modified:
    libunwind/trunk/src/config.h
    libunwind/trunk/src/unwind_ext.h

Modified: libunwind/trunk/src/config.h
URL: http://llvm.org/viewvc/llvm-project/libunwind/trunk/src/config.h?rev=312246&r1=312245&r2=312246&view=diff
==============================================================================
--- libunwind/trunk/src/config.h (original)
+++ libunwind/trunk/src/config.h Thu Aug 31 08:51:23 2017
@@ -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

Modified: libunwind/trunk/src/unwind_ext.h
URL: http://llvm.org/viewvc/llvm-project/libunwind/trunk/src/unwind_ext.h?rev=312246&r1=312245&r2=312246&view=diff
==============================================================================
--- libunwind/trunk/src/unwind_ext.h (original)
+++ libunwind/trunk/src/unwind_ext.h Thu Aug 31 08:51:23 2017
@@ -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);




More information about the cfe-commits mailing list