move remove_name_in_path() into util.c

add version_as_string() to util.c
This commit is contained in:
2024-06-28 03:21:38 +01:00
parent 0bda368f59
commit 2740c6c82d
4 changed files with 34 additions and 19 deletions

View File

@@ -1,6 +1,8 @@
#ifndef __UTIL_H__
#define __UTIL_H__
void remove_name_in_path(char *szPath);
void replace_multiple_space_with_one(char *s, size_t len);
char *version_as_string(char *, long v, int n);
#endif /* __UTIL_H__ */