Skip to content

Commit 958251e

Browse files
committed
Add some prototypes to fix -Wstrict-prototypes. NFC
1 parent 38c502b commit 958251e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

libunwind/src/cet_unwind.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@
3636
#endif
3737

3838
extern void *__libunwind_cet_get_registers(unw_cursor_t *);
39-
extern void *__libunwind_cet_get_jump_target();
39+
extern void *__libunwind_cet_get_jump_target(void);
4040

4141
#endif

libunwind/src/config.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,9 @@
188188
#ifdef __cplusplus
189189
extern "C" {
190190
#endif
191-
extern bool logAPIs();
192-
extern bool logUnwinding();
193-
extern bool logDWARF();
191+
extern bool logAPIs(void);
192+
extern bool logUnwinding(void);
193+
extern bool logDWARF(void);
194194
#ifdef __cplusplus
195195
}
196196
#endif

0 commit comments

Comments
 (0)