Mercurial > hg > th-libs
changeset 50:1fa969d0f551
Sync changes.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 03 Oct 2011 18:39:31 +0300 |
parents | 598609fb49b0 |
children | 1607c0691dee |
files | th_args.c |
diffstat | 1 files changed, 3 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/th_args.c Mon Oct 03 15:40:54 2011 +0300 +++ b/th_args.c Mon Oct 03 18:39:31 2011 +0300 @@ -116,8 +116,7 @@ */ -#ifdef EXTERNAL -#else +#ifndef TH_EXTERNAL #include "th_util.h" #include "th_args.h" #include "th_string.h" @@ -282,8 +281,7 @@ wasGiven = (BOOL *) th_calloc(optListN, sizeof(BOOL)); if (!wasGiven) { - THERR - ("FATAL ERROR! Could not allocate wasGiven in th_args_process()!\n"); + THERR("FATAL ERROR! Could not allocate wasGiven in th_args_process()!\n"); exit(128); } @@ -365,8 +363,7 @@ /* Print help for commandline arguments/options */ -void th_args_help(FILE * outFile, - optarg_t optList[], int optListN) +void th_args_help(FILE *outFile, optarg_t optList[], int optListN) { int i, nrequired;