aboutsummaryrefslogtreecommitdiff
path: root/src/sp/protocol/pubsub0
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-01-04 10:13:49 -0800
committerGarrett D'Amore <garrett@damore.org>2025-01-04 11:48:02 -0800
commit6e03d3470ca6f7c5bdfad6def41b0f0eaf9d33a6 (patch)
treed2263c4cadab9665e685778edfe58c53ad924ac1 /src/sp/protocol/pubsub0
parent304cd1d66574330bfdff17f8bd1b72119bdc2861 (diff)
downloadnng-6e03d3470ca6f7c5bdfad6def41b0f0eaf9d33a6.tar.gz
nng-6e03d3470ca6f7c5bdfad6def41b0f0eaf9d33a6.tar.bz2
nng-6e03d3470ca6f7c5bdfad6def41b0f0eaf9d33a6.zip
api: remove old protocol headers
Diffstat (limited to 'src/sp/protocol/pubsub0')
-rw-r--r--src/sp/protocol/pubsub0/CMakeLists.txt4
-rw-r--r--src/sp/protocol/pubsub0/sub_test.c3
-rw-r--r--src/sp/protocol/pubsub0/xsub_test.c3
3 files changed, 3 insertions, 7 deletions
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. <info@staysail.tech>
+# Copyright 2025 Staysail Systems, Inc. <info@staysail.tech>
# Copyright 2018 Capitar IT Group BV <info@capitar.com>
#
# 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. <info@staysail.tech>
+// Copyright 2025 Staysail Systems, Inc. <info@staysail.tech>
//
// 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 <nuts.h>
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. <info@staysail.tech>
+// Copyright 2025 Staysail Systems, Inc. <info@staysail.tech>
//
// 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 <nuts.h>
static void