# HG changeset patch # User Matti Hamalainen # Date 1206506285 0 # Node ID 323c98360d8b452ff77662a6d3819c56057b6c04 # Parent e80072e261783924515db2648066718fc288e888 Synced th-libs. diff -r e80072e26178 -r 323c98360d8b th_args.c --- a/th_args.c Tue Mar 25 01:28:00 2008 +0000 +++ b/th_args.c Wed Mar 26 04:38:05 2008 +0000 @@ -112,7 +112,7 @@ }; -const DINT optListN = (sizeof(optList) / sizeof(t_opt)); +const int optListN = (sizeof(optList) / sizeof(optarg_t)); */ diff -r e80072e26178 -r 323c98360d8b th_util.c --- a/th_util.c Tue Mar 25 01:28:00 2008 +0000 +++ b/th_util.c Wed Mar 26 04:38:05 2008 +0000 @@ -11,17 +11,8 @@ #include "th_util.h" #include -/* - * Default settings +/* Default settings */ -#ifdef TH_NO_DEFAULTS -#define TH_PROG_AUTHOR "" -#define TH_PROG_LICENSE "" -#else -#define TH_PROG_AUTHOR "By Matti 'ccr' Hämäläinen (C) Copyright 2008 TNSP" -#define TH_PROG_LICENSE "This software is licensed under GNU GPL version 2" -#endif - BOOL th_isInitialized = FALSE; int th_verbosityLevel = 2; char *th_prog_name = NULL, diff -r e80072e26178 -r 323c98360d8b th_util.h --- a/th_util.h Tue Mar 25 01:28:00 2008 +0000 +++ b/th_util.h Wed Mar 26 04:38:05 2008 +0000 @@ -33,6 +33,15 @@ #endif +#ifdef TH_NO_DEFAULTS +#define TH_PROG_AUTHOR NULL +#define TH_PROG_LICENSE NULL +#else +#define TH_PROG_AUTHOR "By Matti 'ccr' Hämäläinen (C) Copyright 2008 TNSP" +#define TH_PROG_LICENSE "This software is licensed under GNU GPL version 2" +#endif + + /* Replacement for assert() */ #ifdef HAVE_NO_ASSERT # ifdef NDEBUG