]> wimlib.net Git - wimlib/blobdiff - include/wimlib/paths.h
dentry.{c,h}: Cleanup and fixes
[wimlib] / include / wimlib / paths.h
index 944fbf45b522d2281addf7ced0747cf15cc24f0c..59c1a86758e253aeac3df91fefacbd8951c26e82 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef _WIMLIB_PATHS_H
 #define _WIMLIB_PATHS_H
 
+#include "wimlib/compiler.h"
 #include "wimlib/types.h"
 
 const tchar *
@@ -12,13 +13,10 @@ path_basename_with_len(const tchar *path, size_t len);
 extern const tchar *
 path_stream_name(const tchar *path);
 
-extern void
-zap_backslashes(tchar *s);
-
 extern tchar *
-canonicalize_wim_path(const tchar *wim_path);
+canonicalize_wim_path(const tchar *wim_path) _malloc_attribute;
 
 extern tchar *
-canonicalize_fs_path(const tchar *fs_path);
+canonicalize_fs_path(const tchar *fs_path) _malloc_attribute;
 
 #endif /* _WIMLIB_PATHS_H */