From: Lars Hjemli Date: Wed, 19 Aug 2009 15:43:47 +0000 (+0200) Subject: cache.h: export hash_str() X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/523a2161b9a21f5fa8526280bb914d7affb185b1 cache.h: export hash_str() This function will be reused to cache the result of tree scanning. Signed-off-by: Lars Hjemli --- diff --git a/cache.h b/cache.h index 66cc41f..ac9276b 100644 --- a/cache.h +++ b/cache.h @@ -32,4 +32,6 @@ extern int cache_ls(const char *path); /* Print a message to stdout */ extern void cache_log(const char *format, ...); +extern unsigned long hash_str(const char *str); + #endif /* CGIT_CACHE_H */