diff th_string.c @ 443:1d2d214ac433

Rename functions th_pstrcat() and th_pstrcpy() to th_pstr_cat() and th_pstr_cpy() to be more consistent with th_pstr_*printf()
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 19 Oct 2017 17:17:09 +0300
parents 1b3472ba7b23
children eb78997a7574
line wrap: on
line diff
--- a/th_string.c	Thu Oct 12 17:13:47 2017 +0300
+++ b/th_string.c	Thu Oct 19 17:17:09 2017 +0300
@@ -843,7 +843,7 @@
 
 /* Copy a given string over in *pdst.
  */
-int th_pstrcpy(char **pdst, const char *src)
+int th_pstr_cpy(char **pdst, const char *src)
 {
     assert(pdst != NULL);
 
@@ -861,7 +861,7 @@
 
 /* Concatenates a given string into string pointed by *pdst.
  */
-int th_pstrcat(char **pdst, const char *src)
+int th_pstr_cat(char **pdst, const char *src)
 {
     assert(pdst != NULL);