diff th_string.c @ 327:fae4651d37bc

Make th_growbuf() public.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 13 Jun 2011 15:08:51 +0300
parents f1049f487987
children b3556ff686fc
line wrap: on
line diff
--- a/th_string.c	Mon Jun 13 06:59:31 2011 +0300
+++ b/th_string.c	Mon Jun 13 15:08:51 2011 +0300
@@ -460,12 +460,8 @@
 }
 
 
-static BOOL th_growbuf(char **buf, size_t *bufsize, size_t *len, size_t grow)
+BOOL th_growbuf(char **buf, size_t *bufsize, size_t *len, size_t grow)
 {
-    assert(buf != NULL);
-    assert(bufsize != NULL);
-    assert(len != NULL);
-    
     if (*buf == NULL)
         *bufsize = *len = 0;