diff options
author | Alan Antonuk <alan.antonuk@gmail.com> | 2021-04-06 04:39:58 +0000 |
---|---|---|
committer | Alan Antonuk <alan.antonuk@gmail.com> | 2021-04-05 22:40:08 -0700 |
commit | c8c117097934c9d2ecab30ce70efba98f0e267f8 (patch) | |
tree | e1e7ef1ccda0e3cd2f7c334e0d66bb4dd1e72d31 /tests | |
parent | 5a75fbed8a4a86b612c9ecb83f78ca59e43e2838 (diff) | |
download | rabbitmq-c-c8c117097934c9d2ecab30ce70efba98f0e267f8.tar.gz |
Move official includes to rabbitmq-c/ directory
Move official rabbitmq-c includes under the rabbitmq-c, thus new
programs should use the following include paths:
amqp.h -> rabbitmq-c/amqp.h
amqp_tcp_socket.h -> rabbitmq-c/tcp_socket.h
amqp_ssl_socket .h-> rabbitmq-c/ssl_socket.h
amqp_framing.h -> rabbitmq-c/framing.h
Existing include files are left with a warning message and including
their new equivalents, so existing programs should compile without
modification.
Signed-off-by: GitHub <noreply@github.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_basic.c | 4 | ||||
-rw-r--r-- | tests/test_parse_url.c | 2 | ||||
-rw-r--r-- | tests/test_status_enum.c | 2 | ||||
-rw-r--r-- | tests/test_tables.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_basic.c b/tests/test_basic.c index a7de044..6b6ca53 100644 --- a/tests/test_basic.c +++ b/tests/test_basic.c @@ -22,9 +22,9 @@ * SOFTWARE. */ -#include "amqp.h" -#include "amqp_tcp_socket.h" #include "amqp_time.h" +#include <rabbitmq-c/amqp.h> +#include <rabbitmq-c/tcp_socket.h> #include <stdio.h> #include <stdlib.h> diff --git a/tests/test_parse_url.c b/tests/test_parse_url.c index 9cdc87c..3e3a6c8 100644 --- a/tests/test_parse_url.c +++ b/tests/test_parse_url.c @@ -46,7 +46,7 @@ #include <inttypes.h> -#include <amqp.h> +#include <rabbitmq-c/amqp.h> static void match_string(const char *what, const char *expect, const char *got) { diff --git a/tests/test_status_enum.c b/tests/test_status_enum.c index 2f2dbd7..a12c5d5 100644 --- a/tests/test_status_enum.c +++ b/tests/test_status_enum.c @@ -26,7 +26,7 @@ #include "config.h" #endif -#include "amqp.h" +#include <rabbitmq-c/amqp.h> #include <stdio.h> #include <stdlib.h> diff --git a/tests/test_tables.c b/tests/test_tables.c index 89ece6b..15652d4 100644 --- a/tests/test_tables.c +++ b/tests/test_tables.c @@ -46,7 +46,7 @@ #include <inttypes.h> -#include <amqp.h> +#include <rabbitmq-c/amqp.h> #include <math.h> |