diff th_string.h @ 79:e36df57c5b0f

Use th_strdup() again.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 24 Dec 2008 16:03:53 +0200
parents 4e3616709752
children 69aed051f84d
line wrap: on
line diff
--- a/th_string.h	Thu Dec 18 14:34:44 2008 +0200
+++ b/th_string.h	Wed Dec 24 16:03:53 2008 +0200
@@ -48,8 +48,9 @@
 int	th_strncasecmp(char *, char *, size_t);
 void	th_strip_ctrlchars(char *);
 
-int	th_pstrcpy(char **, char *);
-int	th_pstrcat(char **, char *);
+char    *th_strdup(const char *);
+int     th_pstrcpy(char **, char *);
+int     th_pstrcat(char **, char *);
 
 char	*th_findnext(char *, size_t *);
 char	*th_findsep(char *, size_t *, char);