# HG changeset patch # User Matti Hamalainen # Date 1508422629 -10800 # Node ID 1d2d214ac433b7cb1028020ddc0e64f5bddae6ca # Parent 54081d784d758a07d5336e589616a9b2273226cb Rename functions th_pstrcat() and th_pstrcpy() to th_pstr_cat() and th_pstr_cpy() to be more consistent with th_pstr_*printf() diff -r 54081d784d75 -r 1d2d214ac433 th_string.c --- 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); diff -r 54081d784d75 -r 1d2d214ac433 th_string.h --- a/th_string.h Thu Oct 12 17:13:47 2017 +0300 +++ b/th_string.h Thu Oct 19 17:17:09 2017 +0300 @@ -113,8 +113,8 @@ void th_pstr_vprintf(char **buf, const char *fmt, va_list ap); void th_pstr_printf(char **buf, const char *fmt, ...); -int th_pstrcpy(char **pdst, const char *src); -int th_pstrcat(char **pdst, const char *src); +int th_pstr_cpy(char **pdst, const char *src); +int th_pstr_cat(char **pdst, const char *src); /* Parsing, matching