From 860fad4d5c26a3f236b3f43923bac3785183d55a Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Mon, 3 Jun 2024 19:10:09 +0300 Subject: [PATCH] Fix signal_log_flush_callback signature too --- pkg/libsignalgo/logging.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/libsignalgo/logging.go b/pkg/libsignalgo/logging.go index 132cc8af..2cbee01d 100644 --- a/pkg/libsignalgo/logging.go +++ b/pkg/libsignalgo/logging.go @@ -20,9 +20,8 @@ package libsignalgo #cgo LDFLAGS: -lsignal_ffi -ldl -lm #include <./libsignal-ffi.h> -extern bool signal_log_enabled_callback(void *ctx, char *target, SignalLogLevel level); extern void signal_log_callback(void *ctx, char *target, SignalLogLevel level, char *file, uint32_t line, char *message); -extern void signal_log_flush_callback(); +extern void signal_log_flush_callback(void *ctx); */ import "C" import (