summaryrefslogtreecommitdiffstats
path: root/hcid/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/main.c')
-rw-r--r--hcid/main.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/hcid/main.c b/hcid/main.c
index abd7f14c..95f21656 100644
--- a/hcid/main.c
+++ b/hcid/main.c
@@ -4,7 +4,7 @@
*
* Copyright (C) 2000-2001 Qualcomm Incorporated
* Copyright (C) 2002-2003 Maxim Krasnyansky <maxk@qualcomm.com>
- * Copyright (C) 2002-2004 Marcel Holtmann <marcel@holtmann.org>
+ * Copyright (C) 2002-2005 Marcel Holtmann <marcel@holtmann.org>
*
*
* This program is free software; you can redistribute it and/or modify
@@ -64,9 +64,6 @@ static struct device_list *device_list = NULL;
static GMainLoop *event_loop;
-gboolean io_stack_event(GIOChannel *chan, GIOCondition cond, gpointer data);
-gboolean io_security_event(GIOChannel *chan, GIOCondition cond, gpointer data);
-
static void usage(void)
{
printf("hcid - HCI daemon ver %s\n", VERSION);
@@ -406,7 +403,7 @@ static inline void device_event(GIOChannel *chan, evt_stack_internal *si)
}
}
-gboolean io_stack_event(GIOChannel *chan, GIOCondition cond, gpointer data)
+static gboolean io_stack_event(GIOChannel *chan, GIOCondition cond, gpointer data)
{
unsigned char buf[HCI_MAX_FRAME_SIZE], *ptr;
evt_stack_internal *si;