From 7cdba9654117b4be1bf43925c10bae1a2a510cfa Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 4 Jan 2025 14:17:27 -0800 Subject: api: remove the supplemental platform.h header --- docs/ref/migrate/nng1.md | 1 + include/nng/supplemental/util/platform.h | 18 ------------------ src/supplemental/util/CMakeLists.txt | 5 ++--- 3 files changed, 3 insertions(+), 21 deletions(-) delete mode 100644 include/nng/supplemental/util/platform.h diff --git a/docs/ref/migrate/nng1.md b/docs/ref/migrate/nng1.md index 584a0f00..e6d6d820 100644 --- a/docs/ref/migrate/nng1.md +++ b/docs/ref/migrate/nng1.md @@ -41,6 +41,7 @@ Simply remove any references to them. - `nng/protocol/survey0/respond.h` - `nng/protocol/survey0/survey.h` - `nng/supplemental/tls/tls.h` +- `nng/supplemental/util/platform.h` - `nng/transport/inproc/inproc.h` - `nng/transport/ipc/ipc.h` - `nng/transport/tcp/tcp.h` diff --git a/include/nng/supplemental/util/platform.h b/include/nng/supplemental/util/platform.h deleted file mode 100644 index 84286388..00000000 --- a/include/nng/supplemental/util/platform.h +++ /dev/null @@ -1,18 +0,0 @@ -// -// Copyright 2024 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 -// file was obtained (LICENSE.txt). A copy of the license may also be -// found online at https://opensource.org/licenses/MIT. -// - -#ifndef NNG_SUPPLEMENTAL_UTIL_PLATFORM_H -#define NNG_SUPPLEMENTAL_UTIL_PLATFORM_H - -// The declarations in this file have been relocated to . -// This file itself is deprecated, and applications should stop including -// it directly. -#include - -#endif // NNG_SUPPLEMENTAL_UTIL_PLATFORM_H diff --git a/src/supplemental/util/CMakeLists.txt b/src/supplemental/util/CMakeLists.txt index edae518e..69afd9e0 100644 --- a/src/supplemental/util/CMakeLists.txt +++ b/src/supplemental/util/CMakeLists.txt @@ -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 @@ -10,7 +10,6 @@ nng_sources(idhash.c options.c) nng_headers( nng/supplemental/util/idhash.h - nng/supplemental/util/options.h - nng/supplemental/util/platform.h) + nng/supplemental/util/options.h) nng_test(idhash_test) nng_test(options_test) -- cgit v1.2.3-70-g09d2