Add some prototypes to fix -Wstrict-prototypes. NFC
authorFangrui Song <i@maskray.me>
Sat, 9 Apr 2022 16:46:39 +0000 (09:46 -0700)
committerFangrui Song <i@maskray.me>
Sat, 9 Apr 2022 16:46:39 +0000 (09:46 -0700)
libunwind/src/cet_unwind.h
libunwind/src/config.h

index e371be2..c364ed3 100644 (file)
@@ -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
index 5ae1604..d230918 100644 (file)
   #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