Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
stop leaking lock structs in some simple cases
[gitweb.git]
/
dir.h
diff --git
a/dir.h
b/dir.h
index a89c13e27a4fb55883f811a2c82fb465bb14988d..e3717055d193366e6780b50d68f6a3c2360d32c4 100644
(file)
--- a/
dir.h
+++ b/
dir.h
@@
-197,6
+197,9
@@
struct dir_struct {
unsigned unmanaged_exclude_files;
};
+/*Count the number of slashes for string s*/
+extern int count_slashes(const char *s);
+
/*
* The ordering of these constants is significant, with
* higher-numbered match types signifying "closer" (i.e. more