aboutsummaryrefslogtreecommitdiff
path: root/libunwind/src
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2022-04-09 09:46:39 -0700
committerFangrui Song <i@maskray.me>2022-04-09 09:46:39 -0700
commit958251ef76db60dba6f0bb48c50a7cc9b9e9c4f1 (patch)
treecb748bab2436ca646e7481bc75acb0a7740ef900 /libunwind/src
parent38c502b6c7e35429ff58ccea869ff2d7793bb0e1 (diff)
downloadllvm-958251ef76db60dba6f0bb48c50a7cc9b9e9c4f1.zip
llvm-958251ef76db60dba6f0bb48c50a7cc9b9e9c4f1.tar.gz
llvm-958251ef76db60dba6f0bb48c50a7cc9b9e9c4f1.tar.bz2
Add some prototypes to fix -Wstrict-prototypes. NFC
Diffstat (limited to 'libunwind/src')
-rw-r--r--libunwind/src/cet_unwind.h2
-rw-r--r--libunwind/src/config.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/libunwind/src/cet_unwind.h b/libunwind/src/cet_unwind.h
index e371be2..c364ed3 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 5ae1604..d230918 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