pass len of input to replace_multiple_space_with_one()

add an input prompt to interactive mode
This commit is contained in:
2024-06-27 22:06:15 +01:00
parent 9191a38745
commit f88fb9b994
3 changed files with 16 additions and 13 deletions

View File

@@ -1,6 +1,6 @@
#ifndef __UTIL_H__
#define __UTIL_H__
void replace_multiple_space_with_one(char *s);
void replace_multiple_space_with_one(char *s, size_t len);
#endif /* __UTIL_H__ */