1
0
Fork 0
mirror of https://gitlab.com/niansa/libcatch.git synced 2025-03-06 20:53:37 +01:00

Fix linkage

This commit is contained in:
niansa/tuxifan 2022-09-16 13:45:46 +02:00
parent b7069e81df
commit 76d61fc201
2 changed files with 6 additions and 2 deletions

View file

@ -7,7 +7,11 @@
#include <signal.h>
#include "libcatch.h"
static char *libcatch_lastexpr = NULL;
unsigned char libcatch_behavior;
bool libcatch_faulty;
static void sighandler(int signal, siginfo_t *si, void *arg) {

View file

@ -1,7 +1,7 @@
#include <stdbool.h>
unsigned char libcatch_behavior;
bool libcatch_faulty;
extern unsigned char libcatch_behavior;
extern bool libcatch_faulty;
void libcatch_init();