From cf96c0bec713ab6f1ac6528504bcfde603364479 Mon Sep 17 00:00:00 2001 From: Alan Antonuk Date: Mon, 4 Dec 2017 21:32:34 -0800 Subject: Examples: remove #include amqp_framing.h is included by amqp.h, user code should not need to include this. --- examples/amqp_bind.c | 5 ++--- examples/amqp_connect_timeout.c | 2 +- examples/amqp_consumer.c | 5 ++--- examples/amqp_exchange_declare.c | 5 ++--- examples/amqp_listen.c | 5 ++--- examples/amqp_listenq.c | 5 ++--- examples/amqp_producer.c | 5 ++--- examples/amqp_rpc_sendstring_client.c | 5 ++--- examples/amqp_sendstring.c | 5 ++--- examples/amqp_unbind.c | 5 ++--- examples/amqps_bind.c | 4 ++-- examples/amqps_connect_timeout.c | 3 ++- examples/amqps_consumer.c | 4 ++-- examples/amqps_exchange_declare.c | 4 ++-- examples/amqps_listen.c | 4 ++-- examples/amqps_listenq.c | 4 ++-- examples/amqps_producer.c | 4 ++-- examples/amqps_sendstring.c | 4 ++-- examples/amqps_unbind.c | 4 ++-- 19 files changed, 37 insertions(+), 45 deletions(-) (limited to 'examples') diff --git a/examples/amqp_bind.c b/examples/amqp_bind.c index de1e0a5..3e90eb2 100644 --- a/examples/amqp_bind.c +++ b/examples/amqp_bind.c @@ -34,14 +34,13 @@ * ***** END LICENSE BLOCK ***** */ +#include #include #include #include -#include -#include #include -#include +#include #include "utils.h" diff --git a/examples/amqp_connect_timeout.c b/examples/amqp_connect_timeout.c index 03eddc9..6253e04 100644 --- a/examples/amqp_connect_timeout.c +++ b/examples/amqp_connect_timeout.c @@ -37,11 +37,11 @@ * ***** END LICENSE BLOCK ***** */ +#include #include #include #include -#include #include #include diff --git a/examples/amqp_consumer.c b/examples/amqp_consumer.c index cfb5118..8ac3149 100644 --- a/examples/amqp_consumer.c +++ b/examples/amqp_consumer.c @@ -34,14 +34,13 @@ * ***** END LICENSE BLOCK ***** */ +#include #include #include #include -#include -#include #include -#include +#include #include diff --git a/examples/amqp_exchange_declare.c b/examples/amqp_exchange_declare.c index 16ebe14..c093451 100644 --- a/examples/amqp_exchange_declare.c +++ b/examples/amqp_exchange_declare.c @@ -34,14 +34,13 @@ * ***** END LICENSE BLOCK ***** */ +#include #include #include #include -#include -#include #include -#include +#include #include "utils.h" diff --git a/examples/amqp_listen.c b/examples/amqp_listen.c index b452cb5..09abf1a 100644 --- a/examples/amqp_listen.c +++ b/examples/amqp_listen.c @@ -34,14 +34,13 @@ * ***** END LICENSE BLOCK ***** */ +#include #include #include #include -#include -#include #include -#include +#include #include diff --git a/examples/amqp_listenq.c b/examples/amqp_listenq.c index b6439f1..3e1a33c 100644 --- a/examples/amqp_listenq.c +++ b/examples/amqp_listenq.c @@ -34,14 +34,13 @@ * ***** END LICENSE BLOCK ***** */ +#include #include #include #include -#include -#include #include -#include +#include #include diff --git a/examples/amqp_producer.c b/examples/amqp_producer.c index b6fca58..1684d6e 100644 --- a/examples/amqp_producer.c +++ b/examples/amqp_producer.c @@ -34,14 +34,13 @@ * ***** END LICENSE BLOCK ***** */ +#include #include #include #include -#include -#include #include -#include +#include #include "utils.h" diff --git a/examples/amqp_rpc_sendstring_client.c b/examples/amqp_rpc_sendstring_client.c index fdca18a..a96c251 100644 --- a/examples/amqp_rpc_sendstring_client.c +++ b/examples/amqp_rpc_sendstring_client.c @@ -34,14 +34,13 @@ * ***** END LICENSE BLOCK ***** */ +#include #include #include #include -#include -#include #include -#include +#include #include diff --git a/examples/amqp_sendstring.c b/examples/amqp_sendstring.c index bc48054..d29823a 100644 --- a/examples/amqp_sendstring.c +++ b/examples/amqp_sendstring.c @@ -34,14 +34,13 @@ * ***** END LICENSE BLOCK ***** */ +#include #include #include #include -#include -#include #include -#include +#include #include "utils.h" diff --git a/examples/amqp_unbind.c b/examples/amqp_unbind.c index 1ca3e83..8fcbbda 100644 --- a/examples/amqp_unbind.c +++ b/examples/amqp_unbind.c @@ -34,14 +34,13 @@ * ***** END LICENSE BLOCK ***** */ +#include #include #include #include -#include -#include #include -#include +#include #include "utils.h" diff --git a/examples/amqps_bind.c b/examples/amqps_bind.c index c78e0b5..38975f8 100644 --- a/examples/amqps_bind.c +++ b/examples/amqps_bind.c @@ -37,13 +37,13 @@ * ***** END LICENSE BLOCK ***** */ +#include #include #include #include -#include +#include #include -#include #include "utils.h" diff --git a/examples/amqps_connect_timeout.c b/examples/amqps_connect_timeout.c index 972c2f7..e8ec718 100644 --- a/examples/amqps_connect_timeout.c +++ b/examples/amqps_connect_timeout.c @@ -40,11 +40,12 @@ * ***** END LICENSE BLOCK ***** */ +#include #include #include #include -#include +#include #include #include diff --git a/examples/amqps_consumer.c b/examples/amqps_consumer.c index de4b8d6..f034f7a 100644 --- a/examples/amqps_consumer.c +++ b/examples/amqps_consumer.c @@ -37,13 +37,13 @@ * ***** END LICENSE BLOCK ***** */ +#include #include #include #include -#include +#include #include -#include #include diff --git a/examples/amqps_exchange_declare.c b/examples/amqps_exchange_declare.c index d13c9c7..a4c33f2 100644 --- a/examples/amqps_exchange_declare.c +++ b/examples/amqps_exchange_declare.c @@ -37,13 +37,13 @@ * ***** END LICENSE BLOCK ***** */ +#include #include #include #include -#include +#include #include -#include #include "utils.h" diff --git a/examples/amqps_listen.c b/examples/amqps_listen.c index dc563d8..9acbac1 100644 --- a/examples/amqps_listen.c +++ b/examples/amqps_listen.c @@ -37,13 +37,13 @@ * ***** END LICENSE BLOCK ***** */ +#include #include #include #include -#include +#include #include -#include #include diff --git a/examples/amqps_listenq.c b/examples/amqps_listenq.c index 7095686..60ca01e 100644 --- a/examples/amqps_listenq.c +++ b/examples/amqps_listenq.c @@ -37,13 +37,13 @@ * ***** END LICENSE BLOCK ***** */ +#include #include #include #include -#include +#include #include -#include #include diff --git a/examples/amqps_producer.c b/examples/amqps_producer.c index 07e7ad7..08ffa16 100644 --- a/examples/amqps_producer.c +++ b/examples/amqps_producer.c @@ -37,13 +37,13 @@ * ***** END LICENSE BLOCK ***** */ +#include #include #include #include -#include +#include #include -#include #include "utils.h" diff --git a/examples/amqps_sendstring.c b/examples/amqps_sendstring.c index 6ef4396..86fd9cb 100644 --- a/examples/amqps_sendstring.c +++ b/examples/amqps_sendstring.c @@ -37,13 +37,13 @@ * ***** END LICENSE BLOCK ***** */ +#include #include #include #include -#include +#include #include -#include #include "utils.h" diff --git a/examples/amqps_unbind.c b/examples/amqps_unbind.c index 29102bb..1d50265 100644 --- a/examples/amqps_unbind.c +++ b/examples/amqps_unbind.c @@ -37,13 +37,13 @@ * ***** END LICENSE BLOCK ***** */ +#include #include #include #include -#include +#include #include -#include #include "utils.h" -- cgit v1.2.1