# HG changeset patch # User Matti Hamalainen # Date 1224308987 -10800 # Node ID 8749f65174919750b7a61cf7e9577bd49f0a0fb5 # Parent 34864d021d7e71b30373a0c69fa18b7f86304930 Synced th-libs. diff -r 34864d021d7e -r 8749f6517491 th_util.h --- a/th_util.h Tue Aug 12 21:28:10 2008 +0300 +++ b/th_util.h Sat Oct 18 08:49:47 2008 +0300 @@ -34,11 +34,11 @@ #ifdef TH_NO_DEFAULTS -#define TH_PROG_AUTHOR NULL -#define TH_PROG_LICENSE NULL +#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" +#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 @@ -53,30 +53,30 @@ /* Global variables */ -extern int th_verbosityLevel; -extern char *th_prog_name, - *th_prog_fullname, - *th_prog_version, - *th_prog_author, - *th_prog_license; +extern int th_verbosityLevel; +extern char *th_prog_name, + *th_prog_fullname, + *th_prog_version, + *th_prog_author, + *th_prog_license; /* Functions */ -void th_init(char *progName, char *progFullName, char *progVersion, - char *progAuthor, char *progLicense); -void THERR(const char *, ...); -void THMSG(int, const char *, ...); -void THPRINT(int, const char *, ...); +void th_init(char *progName, char *progFullName, char *progVersion, + char *progAuthor, char *progLicense); +void THERR(const char *, ...); +void THMSG(int, const char *, ...); +void THPRINT(int, const char *, ...); -void * th_malloc(size_t); -void * th_calloc(size_t, size_t); -void * th_realloc(void *, size_t); -void th_free(void *); +void *th_malloc(size_t); +void *th_calloc(size_t, size_t); +void *th_realloc(void *, size_t); +void th_free(void *); #ifdef HAVE_MEMSET -#define th_memset memset +#define th_memset memset #else -void *th_memset(void *, int, size_t); +void *th_memset(void *, int, size_t); #endif #ifdef __cplusplus