upd utility functions

This commit is contained in:
2024-07-08 16:01:14 +01:00
parent 6b7e0afb91
commit dc8a4036c8
4 changed files with 16 additions and 17 deletions

View File

@@ -8,8 +8,8 @@
#ifndef __UTIL_H__
#define __UTIL_H__
void remove_name_in_path(char *szPath);
int replace_multiple_space_with_one(char *s, size_t len);
void remove_last_part_of_path(char *szPath);
int replace_blanks_with_single_space(char *s, size_t len);
char *kind_as_string(char *s, int kind, int n);
char *version_as_string(char *, long v, int n);