refs: new public ref function: safe_create_reflog
[gitweb.git] / wrapper.c
index c1a663fd592133b3e26314f3d598a8bca8bcceb1..ff49807948f3c406fe73511cec4ef4e2b2df186a 100644 (file)
--- a/wrapper.c
+++ b/wrapper.c
@@ -595,3 +595,8 @@ int write_file(const char *path, int fatal, const char *fmt, ...)
        }
        return 0;
 }
+
+void sleep_millisec(int millisec)
+{
+       poll(NULL, 0, millisec);
+}