aboutsummaryrefslogtreecommitdiff
path: root/src/lib/strings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/strings.h')
-rw-r--r--src/lib/strings.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/strings.h b/src/lib/strings.h
index 61dd316..1bbcac8 100644
--- a/src/lib/strings.h
+++ b/src/lib/strings.h
@@ -1,7 +1,10 @@
#ifndef LIB_STRINGS_H
#define LIB_STRINGS_H
-unsigned long strlen(char* s);
-unsigned char strcmp(char* a, char* b);
+#define string_t char*
+
+unsigned long strlen(string_t s);
+unsigned char strcmp(string_t a, string_t b);
+unsigned char strcmpn(string_t a, string_t b, unsigned int n);
#endif