Mercurial > hg > th-libs
changeset 6:2f92373537b5
Indentation cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 18 Oct 2008 08:49:26 +0300 |
parents | 8552edc844a7 |
children | 41885619fc79 |
files | th_util.h |
diffstat | 1 files changed, 21 insertions(+), 21 deletions(-) [+] |
line wrap: on
line diff
--- a/th_util.h Sun Apr 20 00:13:49 2008 +0300 +++ b/th_util.h Sat Oct 18 08:49:26 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