diff options
Diffstat (limited to 'common/strutils.h')
| -rw-r--r-- | common/strutils.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/common/strutils.h b/common/strutils.h index 95cc16b..872365c 100644 --- a/common/strutils.h +++ b/common/strutils.h @@ -26,11 +26,11 @@ #include <stdlib.h> -#ifdef __VERBOSE_DEBUG +#ifdef __VERBOSE_DEBUG #define log(msg...) printf(msg) #else #define log(msg...) { } -#endif +#endif #define IS_DIR_SEP(ch) ((ch) == '/') @@ -44,6 +44,7 @@ char* exclude_leading_path_sep(const char *APath); char* extract_file_name(const char *APath); char* extract_file_path(const char *APath); char* resolve_relative(const char *source, const char *point_to); +char* canonicalize_filename(const char *filename); #endif /* __STRUTILS_H__ */ |
