summaryrefslogtreecommitdiffstats
path: root/network/server.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2008-03-26 20:23:16 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2008-03-26 20:23:16 +0000
commit8afaade1916c8961fc54dfe69c4d719bbf85adeb (patch)
treecbd4e4b55c829f1292d261c9ae6d8a48e06acab5 /network/server.c
parente213b1b8cc0043c971196c0646f3dbaf9344958f (diff)
network: missing static modifier
Diffstat (limited to 'network/server.c')
-rw-r--r--network/server.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/network/server.c b/network/server.c
index e6ead192..474b6d11 100644
--- a/network/server.c
+++ b/network/server.c
@@ -29,8 +29,6 @@
#include <unistd.h>
#include <stdlib.h>
#include <errno.h>
-#include <sys/socket.h>
-#include <sys/ioctl.h>
#include <sys/stat.h>
#include <net/if.h>
@@ -133,7 +131,7 @@ static void add_lang_attr(sdp_record_t *r)
sdp_list_free(langs, 0);
}
-sdp_record_t *server_record_new(const char *name, uint16_t id)
+static sdp_record_t *server_record_new(const char *name, uint16_t id)
{
sdp_list_t *svclass, *pfseq, *apseq, *root, *aproto;
uuid_t root_uuid, pan, l2cap, bnep;
@@ -692,7 +690,7 @@ void server_exit()
connection = NULL;
}
-uint32_t register_server_record(struct network_server *ns)
+static uint32_t register_server_record(struct network_server *ns)
{
sdp_record_t *record;