Skip to content

Commit

Permalink
Fix signal_log_flush_callback signature too
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Jun 3, 2024
1 parent 088bada commit 860fad4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/libsignalgo/logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit 860fad4

Please sign in to comment.