diff th_util.h @ 101:a8f732601fdc

Rename th_get_errno() to th_get_error(), it's more appropriate since it does not return 'errno' per se.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 27 May 2014 07:28:59 +0300
parents 5819454a28a4
children fedad0ed894f
line wrap: on
line diff
--- a/th_util.h	Sun May 25 05:28:52 2014 +0300
+++ b/th_util.h	Tue May 27 07:28:59 2014 +0300
@@ -120,7 +120,7 @@
                char *author, char *license);
 void    th_print_banner(FILE *outFile, const char *binName, const char *usage);
 
-int     th_get_errno();
+int     th_get_error();
 int     th_errno_to_error(int error);
 const char *th_error_str(int error);