]> asedeno.scripts.mit.edu Git - git.git/blobdiff - cache.h
Merge branch 'ar/mksnpath'
[git.git] / cache.h
diff --git a/cache.h b/cache.h
index a3c77f08ca18f44c1617efd429a819ead3f80234..eda7028992421e3946d93179a0dd6539f43967bb 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -495,6 +495,13 @@ extern int check_repository_format(void);
 #define DATA_CHANGED    0x0020
 #define TYPE_CHANGED    0x0040
 
+extern char *mksnpath(char *buf, size_t n, const char *fmt, ...)
+       __attribute__((format (printf, 3, 4)));
+extern char *git_snpath(char *buf, size_t n, const char *fmt, ...)
+       __attribute__((format (printf, 3, 4)));
+extern char *git_pathdup(const char *fmt, ...)
+       __attribute__((format (printf, 1, 2)));
+
 /* Return a statically allocated filename matching the sha1 signature */
 extern char *mkpath(const char *fmt, ...) __attribute__((format (printf, 1, 2)));
 extern char *git_path(const char *fmt, ...) __attribute__((format (printf, 1, 2)));