summary refs log tree commit diff
path: root/cli/btcli.h
diff options
context:
space:
mode:
Diffstat (limited to 'cli/btcli.h')
-rw-r--r--cli/btcli.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/btcli.h b/cli/btcli.h
index 17c1ac1..19d360a 100644
--- a/cli/btcli.h
+++ b/cli/btcli.h
@@ -1,7 +1,6 @@
 #ifndef BTCLI_H
 #define BTCLI_H
 
-#include <err.h>
 #include <errno.h>
 #include <getopt.h>
 #include <inttypes.h>
@@ -23,6 +22,8 @@
 extern const char *btpd_dir;
 extern struct ipc *ipc;
 
+__attribute__((noreturn))
+void diemsg(const char *fmt, ...);
 void btpd_connect(void);
 enum ipc_err handle_ipc_res(enum ipc_err err, const char *cmd,
     const char *target);