diff --git a/src/config.c b/src/config.c index 7faa5fc5..646ba149 100644 --- a/src/config.c +++ b/src/config.c @@ -100,7 +100,7 @@ int config_destroy(config *cfg) * \param char * string to copy * \return a pointer to the copied string on success, null on failure */ -char *copy_string(const char *string) +static char *copy_string(const char *string) { // Allocate +1 for \0 char *allocated_string = (char *)malloc(strlen(string) + 1);