aboutsummaryrefslogtreecommitdiff
path: root/src/modules/utils/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/utils/utils.h')
-rw-r--r--src/modules/utils/utils.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/modules/utils/utils.h b/src/modules/utils/utils.h
deleted file mode 100644
index 7a0ab02..0000000
--- a/src/modules/utils/utils.h
+++ /dev/null
@@ -1,21 +0,0 @@
-#ifndef UTILS_H
-#define UTILS_H
-
-/* function: char *string_format(char* string)
- * input: pointer to a null-terminated string (must not be NULL)
- * return: pointer to a newly allocated string containing all space-separated words,
- * joined by single spaces; leading/trailing/multiple spaces are ignored.
- * on-error: returns NULL if memory allocation fails
- * misc: the returned pointer must be freed by the caller using free()
- * limits: processes at most 10 words, each up to 49 characters (last '\0')
- */
-char *string_format(char* string);
-
-// function: char *concat(const char *str1, const char *str2)
-// input two char pointer
-// return: pointer to string
-// on-error: returns NULL
-// misc: caller needs to free the memory
-char *concat(const char *str1, const char *str2);
-
-#endif