changeset 468:bbe3c9175d77

Do not set default author/copyright anymore.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 04 Jun 2018 02:39:54 +0300
parents b92b18500bf9
children fe5b803ae449
files th_util.c th_util.h
diffstat 2 files changed, 2 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/th_util.c	Mon Jun 04 02:39:40 2018 +0300
+++ b/th_util.c	Mon Jun 04 02:39:54 2018 +0300
@@ -29,16 +29,8 @@
     th_prog_name     = name;
     th_prog_desc     = desc;
     th_prog_version  = version;
-
-    if (author)
-        th_prog_author = author;
-    else
-        th_prog_author = TH_PROG_AUTHOR;
-
-    if (license)
-        th_prog_license = license;
-    else
-        th_prog_license = TH_PROG_LICENSE;
+    th_prog_author = author;
+    th_prog_license = license;
 
     th_initialized = TRUE;
 }
--- a/th_util.h	Mon Jun 04 02:39:40 2018 +0300
+++ b/th_util.h	Mon Jun 04 02:39:54 2018 +0300
@@ -45,14 +45,6 @@
 extern "C" {
 #endif
 
-#ifdef TH_NO_DEFAULTS
-#  define TH_PROG_AUTHOR      NULL
-#  define TH_PROG_LICENSE     NULL
-#else
-#  define TH_PROG_AUTHOR      "By Matti 'ccr' Hamalainen (C) Copyright 2018 TNSP"
-#  define TH_PROG_LICENSE     "This software is licensed under GNU GPL version 2"
-#endif
-
 
 // Replacement for assert()
 #ifdef HAVE_NO_ASSERT