]> wimlib.net Git - wimlib/blobdiff - src/util.h
WIM capture: Share inodes immediately
[wimlib] / src / util.h
index 06c5045d0318f620f0f7c5e46726ebe1d1c1bfa6..0a2478a58ad4be20091ec83cec2d5dfdebc67e42 100644 (file)
@@ -279,4 +279,10 @@ wimlib_printf(const tchar *format, ...) FORMAT(printf, 1, 2);
 extern void
 zap_backslashes(tchar *s);
 
 extern void
 zap_backslashes(tchar *s);
 
+static inline u64
+hash_u64(u64 n)
+{
+       return n * 0x9e37fffffffc0001ULL;
+}
+
 #endif /* _WIMLIB_UTIL_H */
 #endif /* _WIMLIB_UTIL_H */