commit - 77694967106b5462afed9558713f1f63fdb99216
commit + 36da10d7f659a31e1670445d048e9f4438d8b454
blob - a6e75d2299d2c41f34d5c1b14e362742c30ab00a
blob + afcfd6be4a456c92c0afedd1b22dcb8cf79f7770
--- kamid.h
+++ kamid.h
#define IMSG_DATA_SIZE(imsg) ((imsg).hdr.len - IMSG_HEADER_SIZE)
+#define MIN(a, b) ((a) < (b) ? (a) : (b))
+
struct imsgev {
struct imsgbuf ibuf;
void (*handler)(int, short, void *);
blob - 108da3ba3d72cfd5ad8d0a08f4ada15cfd89c913
blob + 30b424687f108dac8743d1d3a2b862a40453f342
--- listener.c
+++ listener.c
#include "log.h"
#include "sandbox.h"
#include "utils.h"
-
-#define MIN(a, b) ((a) < (b) ? (a) : (b))
static struct kd_conf *listener_conf;
static struct imsgev *iev_main;