diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-04-18 17:07:35 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-04-18 17:31:39 +0200 |
commit | a8a09df6a60d3dd78fc7118dbad6eca99b145c37 (patch) | |
tree | e5aa13723f84c209a68707033f1fa5bb31c42f17 /openbsc/src | |
parent | c42ad8b68619b58bfbc98a0409d74a86b603aebf (diff) |
misc: Remove sys/types.h includes from the files
These are not needed any more. We used them for u_int
types but we now use uint which comes from stdint.h
Diffstat (limited to 'openbsc/src')
38 files changed, 0 insertions, 38 deletions
diff --git a/openbsc/src/gprs/crc24.c b/openbsc/src/gprs/crc24.c index aa48dd324..1a420ed66 100644 --- a/openbsc/src/gprs/crc24.c +++ b/openbsc/src/gprs/crc24.c @@ -19,7 +19,6 @@ * */ -#include <sys/types.h> #include <openbsc/crc24.h> /* CRC24 table - FCS */ diff --git a/openbsc/src/gprs/gb_proxy.c b/openbsc/src/gprs/gb_proxy.c index 53282e22b..1261cccae 100644 --- a/openbsc/src/gprs/gb_proxy.c +++ b/openbsc/src/gprs/gb_proxy.c @@ -27,7 +27,6 @@ #include <errno.h> #include <sys/fcntl.h> #include <sys/stat.h> -#include <sys/types.h> #include <arpa/inet.h> #include <osmocom/core/talloc.h> diff --git a/openbsc/src/gprs/gb_proxy_main.c b/openbsc/src/gprs/gb_proxy_main.c index 3e87f0895..4f6944f25 100644 --- a/openbsc/src/gprs/gb_proxy_main.c +++ b/openbsc/src/gprs/gb_proxy_main.c @@ -28,7 +28,6 @@ #include <signal.h> #include <sys/fcntl.h> #include <sys/stat.h> -#include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> diff --git a/openbsc/src/gprs/gb_proxy_vty.c b/openbsc/src/gprs/gb_proxy_vty.c index 67ed09317..1aa4ff505 100644 --- a/openbsc/src/gprs/gb_proxy_vty.c +++ b/openbsc/src/gprs/gb_proxy_vty.c @@ -18,7 +18,6 @@ * */ -#include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> diff --git a/openbsc/src/gprs/sgsn_libgtp.c b/openbsc/src/gprs/sgsn_libgtp.c index c2afc7944..37d976f6e 100644 --- a/openbsc/src/gprs/sgsn_libgtp.c +++ b/openbsc/src/gprs/sgsn_libgtp.c @@ -29,7 +29,6 @@ #include <signal.h> #include <sys/fcntl.h> #include <sys/stat.h> -#include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> diff --git a/openbsc/src/gprs/sgsn_main.c b/openbsc/src/gprs/sgsn_main.c index 1967de7e0..f6a645ffa 100644 --- a/openbsc/src/gprs/sgsn_main.c +++ b/openbsc/src/gprs/sgsn_main.c @@ -28,7 +28,6 @@ #include <signal.h> #include <sys/fcntl.h> #include <sys/stat.h> -#include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> diff --git a/openbsc/src/gprs/sgsn_vty.c b/openbsc/src/gprs/sgsn_vty.c index cfde6303a..4c9cf2841 100644 --- a/openbsc/src/gprs/sgsn_vty.c +++ b/openbsc/src/gprs/sgsn_vty.c @@ -18,7 +18,6 @@ * */ -#include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> diff --git a/openbsc/src/ipaccess/ipaccess-config.c b/openbsc/src/ipaccess/ipaccess-config.c index 65fe9f2a0..aa38d101e 100644 --- a/openbsc/src/ipaccess/ipaccess-config.c +++ b/openbsc/src/ipaccess/ipaccess-config.c @@ -28,7 +28,6 @@ #include <errno.h> #include <sys/fcntl.h> #include <sys/stat.h> -#include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> diff --git a/openbsc/src/ipaccess/ipaccess-find.c b/openbsc/src/ipaccess/ipaccess-find.c index 5a0058d27..9335ec835 100644 --- a/openbsc/src/ipaccess/ipaccess-find.c +++ b/openbsc/src/ipaccess/ipaccess-find.c @@ -21,7 +21,6 @@ #include <unistd.h> #include <stdio.h> #include <stdlib.h> -#include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> diff --git a/openbsc/src/ipaccess/ipaccess-proxy.c b/openbsc/src/ipaccess/ipaccess-proxy.c index daa909454..bb4841c67 100644 --- a/openbsc/src/ipaccess/ipaccess-proxy.c +++ b/openbsc/src/ipaccess/ipaccess-proxy.c @@ -29,7 +29,6 @@ #include <signal.h> #include <time.h> #include <sys/fcntl.h> -#include <sys/types.h> #include <sys/socket.h> #include <sys/ioctl.h> #include <arpa/inet.h> diff --git a/openbsc/src/libabis/e1_input.c b/openbsc/src/libabis/e1_input.c index 7444bc7df..1a79261d4 100644 --- a/openbsc/src/libabis/e1_input.c +++ b/openbsc/src/libabis/e1_input.c @@ -26,7 +26,6 @@ #include <string.h> #include <time.h> #include <sys/fcntl.h> -#include <sys/types.h> #include <sys/socket.h> #include <sys/ioctl.h> #include <arpa/inet.h> diff --git a/openbsc/src/libabis/e1_input_vty.c b/openbsc/src/libabis/e1_input_vty.c index 890550196..7dbf17a31 100644 --- a/openbsc/src/libabis/e1_input_vty.c +++ b/openbsc/src/libabis/e1_input_vty.c @@ -19,7 +19,6 @@ #include <stdlib.h> #include <unistd.h> -#include <sys/types.h> #include <osmocom/vty/command.h> #include <osmocom/vty/buffer.h> diff --git a/openbsc/src/libabis/input/dahdi.c b/openbsc/src/libabis/input/dahdi.c index 22c96551c..93c8fa55c 100644 --- a/openbsc/src/libabis/input/dahdi.c +++ b/openbsc/src/libabis/input/dahdi.c @@ -33,7 +33,6 @@ #include <string.h> #include <time.h> #include <sys/fcntl.h> -#include <sys/types.h> #include <sys/socket.h> #include <sys/ioctl.h> #include <arpa/inet.h> diff --git a/openbsc/src/libabis/input/hsl.c b/openbsc/src/libabis/input/hsl.c index c53fd0f47..44528dd58 100644 --- a/openbsc/src/libabis/input/hsl.c +++ b/openbsc/src/libabis/input/hsl.c @@ -38,7 +38,6 @@ #include <string.h> #include <time.h> #include <sys/fcntl.h> -#include <sys/types.h> #include <sys/socket.h> #include <sys/ioctl.h> #include <arpa/inet.h> diff --git a/openbsc/src/libabis/input/ipaccess.c b/openbsc/src/libabis/input/ipaccess.c index f4f95f2ba..d2572fb38 100644 --- a/openbsc/src/libabis/input/ipaccess.c +++ b/openbsc/src/libabis/input/ipaccess.c @@ -28,7 +28,6 @@ #include <string.h> #include <time.h> #include <sys/fcntl.h> -#include <sys/types.h> #include <sys/socket.h> #include <sys/ioctl.h> #include <arpa/inet.h> diff --git a/openbsc/src/libabis/input/misdn.c b/openbsc/src/libabis/input/misdn.c index 59289906a..2d52441e6 100644 --- a/openbsc/src/libabis/input/misdn.c +++ b/openbsc/src/libabis/input/misdn.c @@ -27,7 +27,6 @@ #include <string.h> #include <time.h> #include <sys/fcntl.h> -#include <sys/types.h> #include <sys/socket.h> #include <sys/ioctl.h> #include <arpa/inet.h> diff --git a/openbsc/src/libbsc/abis_nm.c b/openbsc/src/libbsc/abis_nm.c index 408d56ea8..4f29dd90d 100644 --- a/openbsc/src/libbsc/abis_nm.c +++ b/openbsc/src/libbsc/abis_nm.c @@ -30,7 +30,6 @@ #include <time.h> #include <limits.h> -#include <sys/types.h> #include <sys/stat.h> #include <netinet/in.h> #include <arpa/inet.h> diff --git a/openbsc/src/libbsc/abis_rsl.c b/openbsc/src/libbsc/abis_rsl.c index 70a4e9938..eb6ed0366 100644 --- a/openbsc/src/libbsc/abis_rsl.c +++ b/openbsc/src/libbsc/abis_rsl.c @@ -23,7 +23,6 @@ #include <stdio.h> #include <stdlib.h> #include <errno.h> -#include <sys/types.h> #include <netinet/in.h> #include <arpa/inet.h> diff --git a/openbsc/src/libbsc/bsc_vty.c b/openbsc/src/libbsc/bsc_vty.c index 771265221..e052bdae7 100644 --- a/openbsc/src/libbsc/bsc_vty.c +++ b/openbsc/src/libbsc/bsc_vty.c @@ -19,7 +19,6 @@ #include <stdlib.h> #include <unistd.h> -#include <sys/types.h> #include <osmocom/vty/command.h> #include <osmocom/vty/buffer.h> diff --git a/openbsc/src/libbsc/bts_ericsson_rbs2000.c b/openbsc/src/libbsc/bts_ericsson_rbs2000.c index 2d23d4893..95bf38bad 100644 --- a/openbsc/src/libbsc/bts_ericsson_rbs2000.c +++ b/openbsc/src/libbsc/bts_ericsson_rbs2000.c @@ -19,7 +19,6 @@ * */ -#include <sys/types.h> #include <osmocom/gsm/tlv.h> diff --git a/openbsc/src/libbsc/bts_hsl_femtocell.c b/openbsc/src/libbsc/bts_hsl_femtocell.c index 67b9c7592..9bbf6d2cc 100644 --- a/openbsc/src/libbsc/bts_hsl_femtocell.c +++ b/openbsc/src/libbsc/bts_hsl_femtocell.c @@ -20,7 +20,6 @@ * */ -#include <sys/types.h> #include <arpa/inet.h> diff --git a/openbsc/src/libbsc/bts_ipaccess_nanobts.c b/openbsc/src/libbsc/bts_ipaccess_nanobts.c index c579c7580..097a88988 100644 --- a/openbsc/src/libbsc/bts_ipaccess_nanobts.c +++ b/openbsc/src/libbsc/bts_ipaccess_nanobts.c @@ -19,7 +19,6 @@ * */ -#include <sys/types.h> #include <arpa/inet.h> #include <osmocom/gsm/tlv.h> diff --git a/openbsc/src/libbsc/bts_siemens_bs11.c b/openbsc/src/libbsc/bts_siemens_bs11.c index 0a4c24717..57625cdd0 100644 --- a/openbsc/src/libbsc/bts_siemens_bs11.c +++ b/openbsc/src/libbsc/bts_siemens_bs11.c @@ -19,7 +19,6 @@ * */ -#include <sys/types.h> #include <osmocom/gsm/tlv.h> diff --git a/openbsc/src/libbsc/bts_unknown.c b/openbsc/src/libbsc/bts_unknown.c index d8ccf0e3b..f1135294f 100644 --- a/openbsc/src/libbsc/bts_unknown.c +++ b/openbsc/src/libbsc/bts_unknown.c @@ -19,7 +19,6 @@ * */ -#include <sys/types.h> #include <openbsc/gsm_data.h> #include <osmocom/gsm/tlv.h> diff --git a/openbsc/src/libbsc/meas_rep.c b/openbsc/src/libbsc/meas_rep.c index 788a9baed..808103d28 100644 --- a/openbsc/src/libbsc/meas_rep.c +++ b/openbsc/src/libbsc/meas_rep.c @@ -19,7 +19,6 @@ * */ -#include <sys/types.h> #include <openbsc/gsm_data.h> #include <openbsc/meas_rep.h> diff --git a/openbsc/src/libbsc/system_information.c b/openbsc/src/libbsc/system_information.c index 0cae71687..3291bff10 100644 --- a/openbsc/src/libbsc/system_information.c +++ b/openbsc/src/libbsc/system_information.c @@ -23,7 +23,6 @@ #include <errno.h> #include <string.h> #include <stdio.h> -#include <sys/types.h> #include <netinet/in.h> #include <openbsc/gsm_04_08.h> diff --git a/openbsc/src/libcommon/socket.c b/openbsc/src/libcommon/socket.c index bbe50d5c4..dd25dd7d6 100644 --- a/openbsc/src/libcommon/socket.c +++ b/openbsc/src/libcommon/socket.c @@ -28,7 +28,6 @@ #include <string.h> #include <time.h> #include <sys/fcntl.h> -#include <sys/types.h> #include <sys/socket.h> #include <sys/ioctl.h> #include <arpa/inet.h> diff --git a/openbsc/src/libmgcp/mgcp_network.c b/openbsc/src/libmgcp/mgcp_network.c index 7167d5809..18d43a075 100644 --- a/openbsc/src/libmgcp/mgcp_network.c +++ b/openbsc/src/libmgcp/mgcp_network.c @@ -38,7 +38,6 @@ #warning "Make use of the rtp proxy code" /* attempt to determine byte order */ -#include <sys/types.h> #include <sys/param.h> #include <limits.h> diff --git a/openbsc/src/libmgcp/mgcp_vty.c b/openbsc/src/libmgcp/mgcp_vty.c index be77b83ef..0b7a97eb8 100644 --- a/openbsc/src/libmgcp/mgcp_vty.c +++ b/openbsc/src/libmgcp/mgcp_vty.c @@ -21,7 +21,6 @@ * */ -#include <sys/types.h> #include <osmocom/core/talloc.h> diff --git a/openbsc/src/libmsc/mncc.c b/openbsc/src/libmsc/mncc.c index 1bed5438a..b48477225 100644 --- a/openbsc/src/libmsc/mncc.c +++ b/openbsc/src/libmsc/mncc.c @@ -25,7 +25,6 @@ #include <stdlib.h> #include <string.h> #include <errno.h> -#include <sys/types.h> #include <openbsc/gsm_04_08.h> #include <openbsc/debug.h> diff --git a/openbsc/src/libmsc/mncc_builtin.c b/openbsc/src/libmsc/mncc_builtin.c index 96b729011..105f1dd96 100644 --- a/openbsc/src/libmsc/mncc_builtin.c +++ b/openbsc/src/libmsc/mncc_builtin.c @@ -26,7 +26,6 @@ #include <stdlib.h> #include <string.h> #include <errno.h> -#include <sys/types.h> #include <openbsc/gsm_04_08.h> #include <openbsc/debug.h> diff --git a/openbsc/src/libmsc/mncc_sock.c b/openbsc/src/libmsc/mncc_sock.c index d709a72ca..f3841b045 100644 --- a/openbsc/src/libmsc/mncc_sock.c +++ b/openbsc/src/libmsc/mncc_sock.c @@ -26,7 +26,6 @@ #include <string.h> #include <errno.h> #include <assert.h> -#include <sys/types.h> #include <sys/socket.h> #include <sys/un.h> diff --git a/openbsc/src/libmsc/rrlp.c b/openbsc/src/libmsc/rrlp.c index 37f7f3eda..75bccb597 100644 --- a/openbsc/src/libmsc/rrlp.c +++ b/openbsc/src/libmsc/rrlp.c @@ -20,7 +20,6 @@ */ -#include <sys/types.h> #include <openbsc/gsm_04_08.h> #include <openbsc/signal.h> diff --git a/openbsc/src/libmsc/vty_interface_layer3.c b/openbsc/src/libmsc/vty_interface_layer3.c index 503bee470..6cc11a4d0 100644 --- a/openbsc/src/libmsc/vty_interface_layer3.c +++ b/openbsc/src/libmsc/vty_interface_layer3.c @@ -21,7 +21,6 @@ #include <stdlib.h> #include <limits.h> #include <unistd.h> -#include <sys/types.h> #include <osmocom/vty/command.h> #include <osmocom/vty/buffer.h> diff --git a/openbsc/src/libtrau/rtp_proxy.c b/openbsc/src/libtrau/rtp_proxy.c index 97284ae18..04e224ccb 100644 --- a/openbsc/src/libtrau/rtp_proxy.c +++ b/openbsc/src/libtrau/rtp_proxy.c @@ -36,7 +36,6 @@ #include <openbsc/rtp_proxy.h> /* attempt to determine byte order */ -#include <sys/types.h> #include <sys/param.h> #include <limits.h> diff --git a/openbsc/src/libtrau/trau_mux.c b/openbsc/src/libtrau/trau_mux.c index 82813b392..b1fd81d79 100644 --- a/openbsc/src/libtrau/trau_mux.c +++ b/openbsc/src/libtrau/trau_mux.c @@ -21,7 +21,6 @@ #include <errno.h> #include <stdlib.h> #include <string.h> -#include <sys/types.h> #include <openbsc/gsm_data.h> #include <openbsc/trau_frame.h> diff --git a/openbsc/src/utils/bs11_config.c b/openbsc/src/utils/bs11_config.c index 0047a92c6..9a61f4c16 100644 --- a/openbsc/src/utils/bs11_config.c +++ b/openbsc/src/utils/bs11_config.c @@ -30,7 +30,6 @@ #include <fcntl.h> #include <signal.h> -#include <sys/types.h> #include <sys/stat.h> #include <openbsc/gsm_data.h> diff --git a/openbsc/src/utils/isdnsync.c b/openbsc/src/utils/isdnsync.c index 1c4aa5d6e..d8fca761b 100644 --- a/openbsc/src/utils/isdnsync.c +++ b/openbsc/src/utils/isdnsync.c @@ -23,7 +23,6 @@ #include <string.h> #include <unistd.h> #include <sys/ioctl.h> -#include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <errno.h> |