From 14cafd461c4ce567cb82c060a5dcfc89ffc336a2 Mon Sep 17 00:00:00 2001 From: Bryan Biedenkapp Date: Sun, 22 Feb 2026 10:46:51 -0500 Subject: [PATCH] HIGHLY_UNECESSARY_DISCLAIMER_FOR_THE_MENTAL; --- src/bridge/BridgeMain.cpp | 6 ++++-- src/bridge/HostBridge.cpp | 1 + src/common/Defines.h | 4 ++++ src/fne/FNEMain.cpp | 4 +++- src/fne/HostFNE.cpp | 1 + src/host/Host.cpp | 1 + src/host/HostMain.cpp | 4 +++- src/patch/HostPatch.cpp | 1 + src/patch/PatchMain.cpp | 6 ++++-- 9 files changed, 22 insertions(+), 6 deletions(-) diff --git a/src/bridge/BridgeMain.cpp b/src/bridge/BridgeMain.cpp index 4a28a92b..a7187d7c 100644 --- a/src/bridge/BridgeMain.cpp +++ b/src/bridge/BridgeMain.cpp @@ -99,7 +99,8 @@ void usage(const char* message, const char* arg) { ::fprintf(stdout, __PROG_NAME__ " %s (built %s)\r\n", __VER__, __BUILD__); ::fprintf(stdout, "Copyright (c) 2017-2026 Bryan Biedenkapp, N2PLL and DVMProject (https://github.com/dvmproject) Authors.\n"); - ::fprintf(stdout, "Portions Copyright (c) 2015-2021 by Jonathan Naylor, G4KLX and others\n\n"); + ::fprintf(stdout, "Portions Copyright (c) 2015-2021 by Jonathan Naylor, G4KLX and others\n"); + ::fprintf(stdout, HIGHLY_UNECESSARY_DISCLAIMER_FOR_THE_MENTAL "\n\n"); if (message != nullptr) { ::fprintf(stderr, "%s: ", g_progExe.c_str()); ::fprintf(stderr, message, arg); @@ -220,7 +221,8 @@ int checkArgs(int argc, char* argv[]) else if (IS("-v")) { ::fprintf(stdout, __PROG_NAME__ " %s (built %s)\r\n", __VER__, __BUILD__); ::fprintf(stdout, "Copyright (c) 2017-2026 Bryan Biedenkapp, N2PLL and DVMProject (https://github.com/dvmproject) Authors.\n"); - ::fprintf(stdout, "Portions Copyright (c) 2015-2021 by Jonathan Naylor, G4KLX and others\n\n"); + ::fprintf(stdout, "Portions Copyright (c) 2015-2021 by Jonathan Naylor, G4KLX and others\n"); + ::fprintf(stdout, HIGHLY_UNECESSARY_DISCLAIMER_FOR_THE_MENTAL "\n"); if (argc == 2) exit(EXIT_SUCCESS); } diff --git a/src/bridge/HostBridge.cpp b/src/bridge/HostBridge.cpp index 02afd8eb..c24d3ad8 100644 --- a/src/bridge/HostBridge.cpp +++ b/src/bridge/HostBridge.cpp @@ -383,6 +383,7 @@ int HostBridge::run() ::LogInfo(__BANNER__ "\r\n" __PROG_NAME__ " " __VER__ " (built " __BUILD__ ")\r\n" \ "Copyright (c) 2017-2026 Bryan Biedenkapp, N2PLL and DVMProject (https://github.com/dvmproject) Authors.\r\n" \ "Portions Copyright (c) 2015-2021 by Jonathan Naylor, G4KLX and others\r\n" \ + HIGHLY_UNECESSARY_DISCLAIMER_FOR_THE_MENTAL "\r\n" \ ">> Audio Bridge\r\n"); // read base parameters from configuration diff --git a/src/common/Defines.h b/src/common/Defines.h index d49c616a..40aa4e7e 100644 --- a/src/common/Defines.h +++ b/src/common/Defines.h @@ -135,6 +135,10 @@ typedef unsigned long long ulong64_t; "8 8888 ,o88P' `8.`8' ,8' `8 `8.`8888. \r\n" \ "8 888888888P' `8.` ,8' ` `8.`8888. \r\n" +#define HIGHLY_UNECESSARY_DISCLAIMER_FOR_THE_MENTAL "THIS SOFTWARE MUST NEVER BE USED IN PUBLIC SAFETY OR LIFE SAFETY CRITICAL APPLICATIONS! This software project\n" \ + "is provided solely for personal, non-commercial, hobbyist use; any commercial, professional, governmental,\n" \ + "or other non-hobbyist use is strictly discouraged, fully unsupported and expressly disclaimed by the authors." + #define HOST_SW_API /** diff --git a/src/fne/FNEMain.cpp b/src/fne/FNEMain.cpp index 29374645..5e073b0d 100644 --- a/src/fne/FNEMain.cpp +++ b/src/fne/FNEMain.cpp @@ -91,7 +91,8 @@ void usage(const char* message, const char* arg) { ::fprintf(stdout, __PROG_NAME__ " %s (built %s)\r\n", __VER__, __BUILD__); ::fprintf(stdout, "Copyright (c) 2017-2026 Bryan Biedenkapp, N2PLL and DVMProject (https://github.com/dvmproject) Authors.\n"); - ::fprintf(stdout, "Portions Copyright (c) 2015-2021 by Jonathan Naylor, G4KLX and others\n\n"); + ::fprintf(stdout, "Portions Copyright (c) 2015-2021 by Jonathan Naylor, G4KLX and others\n"); + ::fprintf(stdout, HIGHLY_UNECESSARY_DISCLAIMER_FOR_THE_MENTAL "\n\n"); if (message != nullptr) { ::fprintf(stderr, "%s: ", g_progExe.c_str()); ::fprintf(stderr, message, arg); @@ -162,6 +163,7 @@ int checkArgs(int argc, char* argv[]) ::fprintf(stdout, __PROG_NAME__ " %s (built %s)\r\n", __VER__, __BUILD__); ::fprintf(stdout, "Copyright (c) 2017-2026 Bryan Biedenkapp, N2PLL and DVMProject (https://github.com/dvmproject) Authors.\n"); ::fprintf(stdout, "Portions Copyright (c) 2015-2021 by Jonathan Naylor, G4KLX and others\n"); + ::fprintf(stdout, HIGHLY_UNECESSARY_DISCLAIMER_FOR_THE_MENTAL "\n"); if (argc == 2) exit(EXIT_SUCCESS); } diff --git a/src/fne/HostFNE.cpp b/src/fne/HostFNE.cpp index 50514b3d..bfe390f5 100644 --- a/src/fne/HostFNE.cpp +++ b/src/fne/HostFNE.cpp @@ -164,6 +164,7 @@ int HostFNE::run() ::LogInfo(__BANNER__ "\r\n" __PROG_NAME__ " " __VER__ " (built " __BUILD__ ")\r\n" \ "Copyright (c) 2017-2026 Bryan Biedenkapp, N2PLL and DVMProject (https://github.com/dvmproject) Authors.\r\n" \ "Portions Copyright (c) 2015-2021 by Jonathan Naylor, G4KLX and others\r\n" \ + HIGHLY_UNECESSARY_DISCLAIMER_FOR_THE_MENTAL "\r\n" \ ">> Fixed Network Equipment\r\n"); // read base parameters from configuration diff --git a/src/host/Host.cpp b/src/host/Host.cpp index b5eecc9a..4a7b3870 100644 --- a/src/host/Host.cpp +++ b/src/host/Host.cpp @@ -256,6 +256,7 @@ int Host::run() ::LogInfo(__BANNER__ "\r\n" __PROG_NAME__ " " __VER__ " (built " __BUILD__ ")\r\n" \ "Copyright (c) 2017-2026 Bryan Biedenkapp, N2PLL and DVMProject (https://github.com/dvmproject) Authors.\r\n" \ "Portions Copyright (c) 2015-2021 by Jonathan Naylor, G4KLX and others\r\n" \ + HIGHLY_UNECESSARY_DISCLAIMER_FOR_THE_MENTAL "\r\n" \ ">> Modem Controller\r\n"); // read base parameters from configuration diff --git a/src/host/HostMain.cpp b/src/host/HostMain.cpp index 2d1680f5..56c22903 100644 --- a/src/host/HostMain.cpp +++ b/src/host/HostMain.cpp @@ -107,7 +107,8 @@ void usage(const char* message, const char* arg) { ::fprintf(stdout, __PROG_NAME__ " %s (built %s)\r\n", __VER__, __BUILD__); ::fprintf(stdout, "Copyright (c) 2017-2026 Bryan Biedenkapp, N2PLL and DVMProject (https://github.com/dvmproject) Authors.\n"); - ::fprintf(stdout, "Portions Copyright (c) 2015-2021 by Jonathan Naylor, G4KLX and others\n\n"); + ::fprintf(stdout, "Portions Copyright (c) 2015-2021 by Jonathan Naylor, G4KLX and others\n"); + ::fprintf(stdout, HIGHLY_UNECESSARY_DISCLAIMER_FOR_THE_MENTAL "\n\n"); if (message != nullptr) { ::fprintf(stderr, "%s: ", g_progExe.c_str()); ::fprintf(stderr, message, arg); @@ -242,6 +243,7 @@ int checkArgs(int argc, char* argv[]) ::fprintf(stdout, __PROG_NAME__ " %s (built %s)\r\n", __VER__, __BUILD__); ::fprintf(stdout, "Copyright (c) 2017-2026 Bryan Biedenkapp, N2PLL and DVMProject (https://github.com/dvmproject) Authors.\n"); ::fprintf(stdout, "Portions Copyright (c) 2015-2021 by Jonathan Naylor, G4KLX and others\n"); + ::fprintf(stdout, HIGHLY_UNECESSARY_DISCLAIMER_FOR_THE_MENTAL "\n"); if (argc == 2) exit(EXIT_SUCCESS); } diff --git a/src/patch/HostPatch.cpp b/src/patch/HostPatch.cpp index 75afbccd..c6937af1 100644 --- a/src/patch/HostPatch.cpp +++ b/src/patch/HostPatch.cpp @@ -203,6 +203,7 @@ int HostPatch::run() ::LogInfo(__BANNER__ "\r\n" __PROG_NAME__ " " __VER__ " (built " __BUILD__ ")\r\n" \ "Copyright (c) 2025-2026 Bryan Biedenkapp, N2PLL and DVMProject (https://github.com/dvmproject) Authors.\r\n" \ "Portions Copyright (c) 2015-2021 by Jonathan Naylor, G4KLX and others\r\n" \ + HIGHLY_UNECESSARY_DISCLAIMER_FOR_THE_MENTAL "\r\n" \ ">> Talkgroup Patch\r\n"); // read base parameters from configuration diff --git a/src/patch/PatchMain.cpp b/src/patch/PatchMain.cpp index 187ded4f..349526cd 100644 --- a/src/patch/PatchMain.cpp +++ b/src/patch/PatchMain.cpp @@ -86,7 +86,8 @@ void usage(const char* message, const char* arg) { ::fprintf(stdout, __PROG_NAME__ " %s (built %s)\r\n", __VER__, __BUILD__); ::fprintf(stdout, "Copyright (c) 2025-2026 Bryan Biedenkapp, N2PLL and DVMProject (https://github.com/dvmproject) Authors.\n"); - ::fprintf(stdout, "Portions Copyright (c) 2015-2021 by Jonathan Naylor, G4KLX and others\n\n"); + ::fprintf(stdout, "Portions Copyright (c) 2015-2021 by Jonathan Naylor, G4KLX and others\n"); + ::fprintf(stdout, HIGHLY_UNECESSARY_DISCLAIMER_FOR_THE_MENTAL "\n\n"); if (message != nullptr) { ::fprintf(stderr, "%s: ", g_progExe.c_str()); ::fprintf(stderr, message, arg); @@ -145,7 +146,8 @@ int checkArgs(int argc, char* argv[]) else if (IS("-v")) { ::fprintf(stdout, __PROG_NAME__ " %s (built %s)\r\n", __VER__, __BUILD__); ::fprintf(stdout, "Copyright (c) 2025-2026 Bryan Biedenkapp, N2PLL and DVMProject (https://github.com/dvmproject) Authors.\n"); - ::fprintf(stdout, "Portions Copyright (c) 2015-2021 by Jonathan Naylor, G4KLX and others\n\n"); + ::fprintf(stdout, "Portions Copyright (c) 2015-2021 by Jonathan Naylor, G4KLX and others\n"); + ::fprintf(stdout, HIGHLY_UNECESSARY_DISCLAIMER_FOR_THE_MENTAL "\n"); if (argc == 2) exit(EXIT_SUCCESS); }