summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-04-18 16:52:55 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-04-18 16:57:04 +0200
commit28dbfe9bf7a799ab1da2563fd5e007d007b54168 (patch)
treeb4e07c040d97e78a06c872af4a0b1e7543a508e2 /src
parenta9f526a1abb1d2bfa68c611f1676fea2d89bc9d9 (diff)
misc: Remove the sys/types.h include from various files
We used this include for the u_int{8,16,32}_t types but we do not need this anymore.
Diffstat (limited to 'src')
-rw-r--r--src/msgb.c1
-rw-r--r--src/msgfile.c1
-rw-r--r--src/plugin.c1
-rw-r--r--src/process.c1
-rw-r--r--src/statistics.c1
-rw-r--r--src/talloc.c1
6 files changed, 0 insertions, 6 deletions
diff --git a/src/msgb.c b/src/msgb.c
index 86720064..d2c167aa 100644
--- a/src/msgb.c
+++ b/src/msgb.c
@@ -22,7 +22,6 @@
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
-#include <sys/types.h>
#include <osmocom/core/msgb.h>
//#include <openbsc/gsm_data.h>
diff --git a/src/msgfile.c b/src/msgfile.c
index ec4434a5..c13df51d 100644
--- a/src/msgfile.c
+++ b/src/msgfile.c
@@ -24,7 +24,6 @@
#include <osmocom/core/msgfile.h>
#include <osmocom/core/talloc.h>
-#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
diff --git a/src/plugin.c b/src/plugin.c
index 4924e950..4d9fd314 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -24,7 +24,6 @@
#if HAVE_DLFCN_H
-#include <sys/types.h>
#include <dirent.h>
#include <dlfcn.h>
#include <stdio.h>
diff --git a/src/process.c b/src/process.c
index 180efa51..7f4f12cb 100644
--- a/src/process.c
+++ b/src/process.c
@@ -23,7 +23,6 @@
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
-#include <sys/types.h>
#include <sys/stat.h>
int osmo_daemonize(void)
diff --git a/src/statistics.c b/src/statistics.c
index a6121401..83bb6ed3 100644
--- a/src/statistics.c
+++ b/src/statistics.c
@@ -20,7 +20,6 @@
*
*/
-#include <sys/types.h>
#include <string.h>
#include <osmocom/core/linuxlist.h>
diff --git a/src/talloc.c b/src/talloc.c
index 60d7927d..d3a0690f 100644
--- a/src/talloc.c
+++ b/src/talloc.c
@@ -48,7 +48,6 @@
#ifndef _TALLOC_SAMBA3
//#include "replace.h"
-#include <sys/types.h>
#include <unistd.h>
#include <stdio.h>
#include <stdbool.h>