diff options
author | Fangrui Song <i@maskray.me> | 2022-04-09 19:46:39 +0300 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-04-09 19:46:39 +0300 |
commit | 958251ef76db60dba6f0bb48c50a7cc9b9e9c4f1 (patch) | |
tree | cb748bab2436ca646e7481bc75acb0a7740ef900 /libunwind | |
parent | 38c502b6c7e35429ff58ccea869ff2d7793bb0e1 (diff) |
Add some prototypes to fix -Wstrict-prototypes. NFC
Diffstat (limited to 'libunwind')
-rw-r--r-- | libunwind/src/cet_unwind.h | 2 | ||||
-rw-r--r-- | libunwind/src/config.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libunwind/src/cet_unwind.h b/libunwind/src/cet_unwind.h index e371be20c452..c364ed3e12fe 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 5ae1604f657d..d2309186df57 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 |