diff options
| author | Garrett D'Amore <garrett@damore.org> | 2025-01-04 14:17:27 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-01-04 14:17:31 -0800 |
| commit | 7cdba9654117b4be1bf43925c10bae1a2a510cfa (patch) | |
| tree | 30bc63cdb316b037ce8b9d4c560c64b1f1a01e52 | |
| parent | 8967823efc6f0617ad4d5666bad262a77a8f0039 (diff) | |
| download | nng-7cdba9654117b4be1bf43925c10bae1a2a510cfa.tar.gz nng-7cdba9654117b4be1bf43925c10bae1a2a510cfa.tar.bz2 nng-7cdba9654117b4be1bf43925c10bae1a2a510cfa.zip | |
api: remove the supplemental platform.h header
| -rw-r--r-- | docs/ref/migrate/nng1.md | 1 | ||||
| -rw-r--r-- | include/nng/supplemental/util/platform.h | 18 | ||||
| -rw-r--r-- | src/supplemental/util/CMakeLists.txt | 5 |
3 files changed, 3 insertions, 21 deletions
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. <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 -// 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 <nng/nng.h>. -// This file itself is deprecated, and applications should stop including -// it directly. -#include <nng/nng.h> - -#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. <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 @@ -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) |
