aboutsummaryrefslogtreecommitdiff
path: root/strbuf.h
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2019-01-22 14:16:30 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2019-01-22 14:18:19 +0100
commitdba60d8b985247be7f0b0eef0bc0cefef651c824 (patch)
tree853afca0b32884c279e1a949313873f9c0d649d6 /strbuf.h
parentStart using trie's instead of hash-maps. (diff)
downloadcalp-dba60d8b985247be7f0b0eef0bc0cefef651c824.tar.gz
calp-dba60d8b985247be7f0b0eef0bc0cefef651c824.tar.xz
Fix crash.
Diffstat (limited to 'strbuf.h')
-rw-r--r--strbuf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/strbuf.h b/strbuf.h
index af673693..86098e21 100644
--- a/strbuf.h
+++ b/strbuf.h
@@ -34,7 +34,8 @@ int strbuf_realloc(strbuf* str, size_t len);
/*
* Free's contents of str, but keeps str.
*/
-int strbuf_free(strbuf* str);
+// int strbuf_free(strbuf* str);
+int FREE_DECL(strbuf);
/*
* Copy contents from src to dest.