Author: Lars Hjemli <hjemli@gmail.com>
cache.h: export hash_str() This function will be reused to cache the result of tree scanning. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
cache.h | 2 ++
diff --git a/cache.h b/cache.h index 66cc41fee4b925e482bd62a937110b5a79d71b1f..ac9276b5c43a410147bb63fa27565fc79d35e3f6 100644 --- a/cache.h +++ b/cache.h @@ -32,4 +32,6 @@ /* Print a message to stdout */ extern void cache_log(const char *format, ...); +extern unsigned long hash_str(const char *str); + #endif /* CGIT_CACHE_H */