summaryrefslogtreecommitdiffstats
path: root/hcid/hcid.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2006-03-09 19:37:13 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2006-03-09 19:37:13 +0000
commit8de8b3a8e328be181a6ddd9b82cf469eeb0e0d8b (patch)
tree8b764f13b4a1edb07b91cdb48e4b1e65b607f5b3 /hcid/hcid.h
parentcc31145e63f9c87e816267e69e73d74e669563a1 (diff)
Fix logging functions
Diffstat (limited to 'hcid/hcid.h')
-rw-r--r--hcid/hcid.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/hcid/hcid.h b/hcid/hcid.h
index 8d84af92..93f55bee 100644
--- a/hcid/hcid.h
+++ b/hcid/hcid.h
@@ -24,7 +24,6 @@
*/
#include <time.h>
-#include <stdarg.h>
#include <syslog.h>
#include <sys/types.h>
#include <sys/ioctl.h>
@@ -174,9 +173,9 @@ int read_link_key(bdaddr_t *local, bdaddr_t *peer, unsigned char *key);
int read_pin_length(bdaddr_t *local, bdaddr_t *peer);
int read_pin_code(bdaddr_t *local, bdaddr_t *peer, char *pin);
-void info(const char *format, va_list ap);
-void error(const char *format, va_list ap);
-void debug(const char *format, va_list ap);
+void info(const char *format, ...);
+void error(const char *format, ...);
+void debug(const char *format, ...);
static inline int find_conn(int dd, int dev_id, long arg)
{