]> git.ipfire.org Git - thirdparty/git.git/blobdiff - grep.h
Merge branch 'jt/t5500-unflake'
[thirdparty/git.git] / grep.h
diff --git a/grep.h b/grep.h
index 811fd274c95b0528223fff8d684c5299c10a9967..9115db8515059bf170d3d56e8146f9193d3318e4 100644 (file)
--- a/grep.h
+++ b/grep.h
@@ -220,18 +220,5 @@ int grep_threads_ok(const struct grep_opt *opt);
  */
 extern int grep_use_locks;
 extern pthread_mutex_t grep_attr_mutex;
-extern pthread_mutex_t grep_read_mutex;
-
-static inline void grep_read_lock(void)
-{
-       if (grep_use_locks)
-               pthread_mutex_lock(&grep_read_mutex);
-}
-
-static inline void grep_read_unlock(void)
-{
-       if (grep_use_locks)
-               pthread_mutex_unlock(&grep_read_mutex);
-}
 
 #endif