diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-11-09 13:39:51 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-11-09 13:39:51 +0100 |
commit | eca1440439df6b7ee6c1166483f0389d71a98102 (patch) | |
tree | 08458daebeb69e8fd5fe3fa339b0b2114736854f | |
parent | ac4af14ab11b6a61d9c98d2232f5f0a238c5f697 (diff) |
misc: Always include stdint.h as it is almost 2013 now
C99 is there for over a decode, always depend on the stdint header
being present, specially as the code is using uint32_t all over the
place.
36 files changed, 1 insertions, 73 deletions
diff --git a/src/smpp34_dumpBuf.c b/src/smpp34_dumpBuf.c index 04066e8..77dfdba 100644 --- a/src/smpp34_dumpBuf.c +++ b/src/smpp34_dumpBuf.c @@ -26,9 +26,7 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/src/smpp34_dumpPdu.c b/src/smpp34_dumpPdu.c index 13beaf8..76cd70b 100644 --- a/src/smpp34_dumpPdu.c +++ b/src/smpp34_dumpPdu.c @@ -26,9 +26,7 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/src/smpp34_pack.c b/src/smpp34_pack.c index dd6e28e..1916172 100644 --- a/src/smpp34_pack.c +++ b/src/smpp34_pack.c @@ -26,9 +26,7 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/src/smpp34_params.c b/src/smpp34_params.c index 017a1d6..a91f9eb 100644 --- a/src/smpp34_params.c +++ b/src/smpp34_params.c @@ -23,9 +23,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/src/smpp34_structs.c b/src/smpp34_structs.c index da53c73..c65c407 100644 --- a/src/smpp34_structs.c +++ b/src/smpp34_structs.c @@ -26,9 +26,7 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/src/smpp34_unpack.c b/src/smpp34_unpack.c index ada612f..aa223f9 100644 --- a/src/smpp34_unpack.c +++ b/src/smpp34_unpack.c @@ -26,9 +26,7 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/test_apps/analizer.c b/test_apps/analizer.c index 9128a05..09fea82 100644 --- a/test_apps/analizer.c +++ b/test_apps/analizer.c @@ -27,10 +27,7 @@ #include <string.h> #include <arpa/inet.h> - -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/test_apps/smpp.c b/test_apps/smpp.c index ea45d26..c764907 100644 --- a/test_apps/smpp.c +++ b/test_apps/smpp.c @@ -31,9 +31,7 @@ #include <libxml/xmlmemory.h> #include <libxml/parser.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/test_pdu/alert_notification_test.c b/test_pdu/alert_notification_test.c index d220fca..7c35e41 100644 --- a/test_pdu/alert_notification_test.c +++ b/test_pdu/alert_notification_test.c @@ -27,9 +27,8 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif + #include "smpp34.h" #include "smpp34_structs.h" #include "smpp34_params.h" diff --git a/test_pdu/bind_receiver_resp_test.c b/test_pdu/bind_receiver_resp_test.c index b02a9c6..610effd 100644 --- a/test_pdu/bind_receiver_resp_test.c +++ b/test_pdu/bind_receiver_resp_test.c @@ -27,9 +27,7 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/test_pdu/bind_receiver_test.c b/test_pdu/bind_receiver_test.c index 571947d..fa94c6f 100644 --- a/test_pdu/bind_receiver_test.c +++ b/test_pdu/bind_receiver_test.c @@ -27,9 +27,7 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/test_pdu/bind_transceiver_resp_test.c b/test_pdu/bind_transceiver_resp_test.c index 621b17c..d778fdd 100644 --- a/test_pdu/bind_transceiver_resp_test.c +++ b/test_pdu/bind_transceiver_resp_test.c @@ -27,9 +27,7 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/test_pdu/bind_transceiver_test.c b/test_pdu/bind_transceiver_test.c index 8d8fdff..dbabcc5 100644 --- a/test_pdu/bind_transceiver_test.c +++ b/test_pdu/bind_transceiver_test.c @@ -27,9 +27,7 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/test_pdu/bind_transmitter_resp_test.c b/test_pdu/bind_transmitter_resp_test.c index f6263e6..f33be6f 100644 --- a/test_pdu/bind_transmitter_resp_test.c +++ b/test_pdu/bind_transmitter_resp_test.c @@ -27,9 +27,7 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/test_pdu/bind_transmitter_test.c b/test_pdu/bind_transmitter_test.c index 78e641e..33b2b16 100644 --- a/test_pdu/bind_transmitter_test.c +++ b/test_pdu/bind_transmitter_test.c @@ -27,9 +27,7 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/test_pdu/cancel_sm_resp_test.c b/test_pdu/cancel_sm_resp_test.c index 5ab6a5c..f8cbc20 100644 --- a/test_pdu/cancel_sm_resp_test.c +++ b/test_pdu/cancel_sm_resp_test.c @@ -27,9 +27,7 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/test_pdu/cancel_sm_test.c b/test_pdu/cancel_sm_test.c index 074ae5e..2193528 100644 --- a/test_pdu/cancel_sm_test.c +++ b/test_pdu/cancel_sm_test.c @@ -27,9 +27,7 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/test_pdu/core.c b/test_pdu/core.c index 30676a4..05a3f29 100644 --- a/test_pdu/core.c +++ b/test_pdu/core.c @@ -27,9 +27,7 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/test_pdu/data_sm_resp_test.c b/test_pdu/data_sm_resp_test.c index 5e311fb..2a07f80 100644 --- a/test_pdu/data_sm_resp_test.c +++ b/test_pdu/data_sm_resp_test.c @@ -26,9 +26,7 @@ #include <string.h> #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/test_pdu/data_sm_test.c b/test_pdu/data_sm_test.c index ed2fd15..ec51260 100644 --- a/test_pdu/data_sm_test.c +++ b/test_pdu/data_sm_test.c @@ -27,9 +27,7 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/test_pdu/deliver_sm_resp_test.c b/test_pdu/deliver_sm_resp_test.c index a1238dd..ea43ae1 100644 --- a/test_pdu/deliver_sm_resp_test.c +++ b/test_pdu/deliver_sm_resp_test.c @@ -27,9 +27,7 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/test_pdu/deliver_sm_test.c b/test_pdu/deliver_sm_test.c index 04757d3..bfc9a69 100644 --- a/test_pdu/deliver_sm_test.c +++ b/test_pdu/deliver_sm_test.c @@ -27,9 +27,7 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/test_pdu/enquire_link_resp_test.c b/test_pdu/enquire_link_resp_test.c index 823bebb..e549e31 100644 --- a/test_pdu/enquire_link_resp_test.c +++ b/test_pdu/enquire_link_resp_test.c @@ -27,9 +27,7 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/test_pdu/enquire_link_test.c b/test_pdu/enquire_link_test.c index 9e1890c..d41065c 100644 --- a/test_pdu/enquire_link_test.c +++ b/test_pdu/enquire_link_test.c @@ -27,9 +27,7 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/test_pdu/generic_nack_test.c b/test_pdu/generic_nack_test.c index b61ecc6..a8648da 100644 --- a/test_pdu/generic_nack_test.c +++ b/test_pdu/generic_nack_test.c @@ -27,9 +27,7 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/test_pdu/outbind_test.c b/test_pdu/outbind_test.c index 4e1d993..a6260b2 100644 --- a/test_pdu/outbind_test.c +++ b/test_pdu/outbind_test.c @@ -27,9 +27,7 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/test_pdu/query_sm_resp_test.c b/test_pdu/query_sm_resp_test.c index 4b79bdb..99f2885 100644 --- a/test_pdu/query_sm_resp_test.c +++ b/test_pdu/query_sm_resp_test.c @@ -27,9 +27,7 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/test_pdu/query_sm_test.c b/test_pdu/query_sm_test.c index 3318219..407c1dc 100644 --- a/test_pdu/query_sm_test.c +++ b/test_pdu/query_sm_test.c @@ -27,9 +27,7 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/test_pdu/replace_sm_resp_test.c b/test_pdu/replace_sm_resp_test.c index 59435bd..1fd4317 100644 --- a/test_pdu/replace_sm_resp_test.c +++ b/test_pdu/replace_sm_resp_test.c @@ -27,9 +27,7 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/test_pdu/replace_sm_test.c b/test_pdu/replace_sm_test.c index 3d0a236..b9781d4 100644 --- a/test_pdu/replace_sm_test.c +++ b/test_pdu/replace_sm_test.c @@ -27,9 +27,7 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/test_pdu/submit_multi_resp_test.c b/test_pdu/submit_multi_resp_test.c index 5118286..6f518d3 100644 --- a/test_pdu/submit_multi_resp_test.c +++ b/test_pdu/submit_multi_resp_test.c @@ -27,9 +27,7 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/test_pdu/submit_multi_test.c b/test_pdu/submit_multi_test.c index a2d81bb..31585ed 100644 --- a/test_pdu/submit_multi_test.c +++ b/test_pdu/submit_multi_test.c @@ -27,9 +27,7 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/test_pdu/submit_sm_resp_test.c b/test_pdu/submit_sm_resp_test.c index dd94a45..fa97620 100644 --- a/test_pdu/submit_sm_resp_test.c +++ b/test_pdu/submit_sm_resp_test.c @@ -27,9 +27,7 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/test_pdu/submit_sm_test.c b/test_pdu/submit_sm_test.c index 1c1dcc5..0f79302 100644 --- a/test_pdu/submit_sm_test.c +++ b/test_pdu/submit_sm_test.c @@ -27,9 +27,7 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/test_pdu/unbind_resp_test.c b/test_pdu/unbind_resp_test.c index 6020002..7820bc6 100644 --- a/test_pdu/unbind_resp_test.c +++ b/test_pdu/unbind_resp_test.c @@ -27,9 +27,7 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" diff --git a/test_pdu/unbind_test.c b/test_pdu/unbind_test.c index 28ef08d..e253cdb 100644 --- a/test_pdu/unbind_test.c +++ b/test_pdu/unbind_test.c @@ -27,9 +27,7 @@ #include <sys/types.h> #include <netinet/in.h> -#ifdef __linux__ #include <stdint.h> -#endif #include "smpp34.h" #include "smpp34_structs.h" |