Author: Fangrui Song Date: 2022-04-09T09:46:39-07:00 New Revision: 958251ef76db60dba6f0bb48c50a7cc9b9e9c4f1
URL: https://github.com/llvm/llvm-project/commit/958251ef76db60dba6f0bb48c50a7cc9b9e9c4f1 DIFF: https://github.com/llvm/llvm-project/commit/958251ef76db60dba6f0bb48c50a7cc9b9e9c4f1.diff LOG: Add some prototypes to fix -Wstrict-prototypes. NFC Added: Modified: libunwind/src/cet_unwind.h libunwind/src/config.h Removed: ################################################################################ diff --git a/libunwind/src/cet_unwind.h b/libunwind/src/cet_unwind.h index e371be20c4520..c364ed3e12feb 100644 --- a/libunwind/src/cet_unwind.h +++ b/libunwind/src/cet_unwind.h @@ -36,6 +36,6 @@ #endif extern void *__libunwind_cet_get_registers(unw_cursor_t *); -extern void *__libunwind_cet_get_jump_target(); +extern void *__libunwind_cet_get_jump_target(void); #endif diff --git a/libunwind/src/config.h b/libunwind/src/config.h index 5ae1604f657dd..d2309186df57a 100644 --- a/libunwind/src/config.h +++ b/libunwind/src/config.h @@ -188,9 +188,9 @@ #ifdef __cplusplus extern "C" { #endif - extern bool logAPIs(); - extern bool logUnwinding(); - extern bool logDWARF(); + extern bool logAPIs(void); + extern bool logUnwinding(void); + extern bool logDWARF(void); #ifdef __cplusplus } #endif _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits