about summary refs log tree commit diff
path: root/cli/btcli.h
diff options
context:
space:
mode:
authorRichard Nyberg <rnyberg@murmeldjur.se>2009-01-12 22:14:10 +0100
committerRichard Nyberg <rnyberg@murmeldjur.se>2009-01-12 23:43:35 +0100
commitc8285d9b313ea4ffa78262b5c278e1643befa298 (patch)
tree49e08445aa7d3bf27960c131c9cddc3db5b40c61 /cli/btcli.h
parent7b8644dcc1a0db95c3ea321ebb8bc059ab931b42 (diff)
downloadbtpd-c8285d9b313ea4ffa78262b5c278e1643befa298.tar.gz
btpd-c8285d9b313ea4ffa78262b5c278e1643befa298.zip
Don't use the bsd err and warn family of functions. Solaris doesn't have them.
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);