aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorCara Salter <cara@devcara.com>2022-10-19 21:59:00 -0400
committerCara Salter <cara@devcara.com>2022-10-19 21:59:00 -0400
commit338c3d50f45598418e0ed29fed542e76cf071e0f (patch)
treedb9a10cc9f4e265f6079b3bae27580f998ba32fd /src/util.h
parentade9d8a0a58b3a94e4231c48d861236b1f17c859 (diff)
downloadcmud-338c3d50f45598418e0ed29fed542e76cf071e0f.tar.gz
cmud-338c3d50f45598418e0ed29fed542e76cf071e0f.zip
data: Fix deserialization
turns out you need to pass pointers to functions that require pointers, who knew?
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 5ef6a2c..14fe005 100644
--- a/src/util.h
+++ b/src/util.h
@@ -20,3 +20,5 @@
#include <string.h>
char* trimwhitespace(char* str);
+
+int cut_str(char* str, int begin, int len);