changeset 37:8749f6517491

Synced th-libs.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 18 Oct 2008 08:49:47 +0300
parents 34864d021d7e
children cfbdd75946f4
files th_util.h
diffstat 1 files changed, 21 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- 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