From ed84017353c6fc9421b223ff6ec62f8d881d8098 Mon Sep 17 00:00:00 2001 From: Aleksa Vučković Date: Mon, 17 Jan 2022 22:00:14 +0100 Subject: Fixing $(WARNING)s & explicitly declaring function prototypes --- src/include/source/string.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/include/source/string.h (limited to 'src/include/source/string.h') diff --git a/src/include/source/string.h b/src/include/source/string.h new file mode 100644 index 0000000..98aef4f --- /dev/null +++ b/src/include/source/string.h @@ -0,0 +1,17 @@ +#ifndef SOURCE_STRING_H +#define SOURCE_STRING_H + +#include + +size_t stringlen(char* str); +bool stringcmp(const char* str1, const char* str2); +void stringcat(char* str1, const char* str2); +void stringcpy(char* str1, const char* str2); +void stringrev(char* str); + +void itos(uint32_t num, char *str); +uint32_t stoi(const char* str); +double stof(const char* str); +void ftos(double num, char* str); + +#endif -- cgit v1.2.3