From 6e03d3470ca6f7c5bdfad6def41b0f0eaf9d33a6 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 4 Jan 2025 10:13:49 -0800 Subject: api: remove old protocol headers --- src/sp/protocol/pubsub0/CMakeLists.txt | 4 +--- src/sp/protocol/pubsub0/sub_test.c | 3 +-- src/sp/protocol/pubsub0/xsub_test.c | 3 +-- 3 files changed, 3 insertions(+), 7 deletions(-) (limited to 'src/sp/protocol/pubsub0') diff --git a/src/sp/protocol/pubsub0/CMakeLists.txt b/src/sp/protocol/pubsub0/CMakeLists.txt index 160b7462..46c37995 100644 --- a/src/sp/protocol/pubsub0/CMakeLists.txt +++ b/src/sp/protocol/pubsub0/CMakeLists.txt @@ -1,5 +1,5 @@ # -# Copyright 2019 Staysail Systems, Inc. +# Copyright 2025 Staysail Systems, Inc. # Copyright 2018 Capitar IT Group BV # # This software is supplied under the terms of the MIT License, a @@ -12,11 +12,9 @@ nng_directory(pubsub0) nng_sources_if(NNG_PROTO_PUB0 pub.c) -nng_headers_if(NNG_PROTO_PUB0 nng/protocol/pubsub0/pub.h) nng_defines_if(NNG_PROTO_PUB0 NNG_HAVE_PUB0) nng_sources_if(NNG_PROTO_SUB0 sub.c xsub.c) -nng_headers_if(NNG_PROTO_SUB0 nng/protocol/pubsub0/sub.h) nng_defines_if(NNG_PROTO_SUB0 NNG_HAVE_SUB0) nng_test(pub_test) diff --git a/src/sp/protocol/pubsub0/sub_test.c b/src/sp/protocol/pubsub0/sub_test.c index 5c72b8bd..13fc07bf 100644 --- a/src/sp/protocol/pubsub0/sub_test.c +++ b/src/sp/protocol/pubsub0/sub_test.c @@ -1,5 +1,5 @@ // -// Copyright 2024 Staysail Systems, Inc. +// Copyright 2025 Staysail Systems, Inc. // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this @@ -8,7 +8,6 @@ // #include "nng/nng.h" -#include "nng/protocol/pubsub0/sub.h" #include static void diff --git a/src/sp/protocol/pubsub0/xsub_test.c b/src/sp/protocol/pubsub0/xsub_test.c index 618703b5..859ab532 100644 --- a/src/sp/protocol/pubsub0/xsub_test.c +++ b/src/sp/protocol/pubsub0/xsub_test.c @@ -1,5 +1,5 @@ // -// Copyright 2024 Staysail Systems, Inc. +// Copyright 2025 Staysail Systems, Inc. // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this @@ -8,7 +8,6 @@ // #include -#include #include static void -- cgit v1.2.3-70-g09d2