Commit b6fe87af authored by Shawn Webb's avatar Shawn Webb
Browse files

Annotate printf-like format for the logging callback


Signed-off-by: Shawn Webb's avatarShawn Webb <shawn.webb@hardenedbsd.org>
parent 432ace51
......@@ -29,6 +29,7 @@
#include <sys/queue.h>
#include <sys/stat.h>
#include <stdarg.h>
#include <sys/cdefs.h>
#include <sqlite3.h>
#include <ucl.h>
......@@ -48,7 +49,8 @@ typedef struct _sqlite_ctx sqlite_ctx_t;
#define LATTUTIL_SQL_FLAG_ISSET(q, f) (((q)->lsq_flags & f) == f)
typedef ssize_t (*log_cb)(struct _lllog *, int, const char *, ...);
typedef ssize_t (*log_cb)(struct _lllog *, int, const char *, ...)
__attribute__((__format__(__printf0__, 3, 4)));
typedef void (*log_close)(struct _lllog *);
/*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment