aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2011-10-05 12:31:43 +0200
committerPablo Neira Ayuso <pablo@gnumonks.org>2011-10-05 13:43:15 +0200
commit57d86b7d286661da88ad490ec98a7b334ec6be01 (patch)
treefe7f962624b55a2d3909a53a012fd31a9b3faf13
parentddb9bf65f497ac0c4879b5114e887383f47e5686 (diff)
stream: remove includes from stream.h header
The should be uses in the client program. They are not required by the generic stream socket infrastructure.
-rw-r--r--include/osmocom/netif/stream.h5
-rw-r--r--src/stream.c1
2 files changed, 1 insertions, 5 deletions
diff --git a/include/osmocom/netif/stream.h b/include/osmocom/netif/stream.h
index 4f6407a..de65176 100644
--- a/include/osmocom/netif/stream.h
+++ b/include/osmocom/netif/stream.h
@@ -1,11 +1,6 @@
#ifndef _OSMO_STREAM_H_
#define _OSMO_STREAM_H_
-#include <stdint.h>
-#include <osmocom/core/linuxlist.h>
-#include <osmocom/core/timer.h>
-#include <osmocom/core/select.h>
-
struct stream_server_link;
struct stream_server_link *stream_server_link_create(void *ctx);
diff --git a/src/stream.c b/src/stream.c
index 2603ecb..e29075e 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -9,6 +9,7 @@
#include <sys/ioctl.h>
#include <arpa/inet.h>
+#include <osmocom/core/timer.h>
#include <osmocom/core/select.h>
#include <osmocom/gsm/tlv.h>
#include <osmocom/core/msgb.h>