X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-compat-util.h;h=d6d269f138b06791ba6e8712b06036f00a73c7e3;hb=28368e9f0bced688e4baf3b02b1bfcb6580909c4;hp=490f96974417b00cd98de046ab1d6853425c3335;hpb=94fdb6f6ebcfe2842e8648dd88389e2e850723e9;p=git.git diff --git a/git-compat-util.h b/git-compat-util.h index 490f96974..d6d269f13 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -421,6 +421,7 @@ extern ssize_t xwrite(int fd, const void *buf, size_t len); extern int xdup(int fd); extern FILE *xfdopen(int fd, const char *mode); extern int xmkstemp(char *template); +extern int xmkstemp_mode(char *template, int mode); extern int odb_mkstemp(char *template, size_t limit, const char *pattern); extern int odb_pack_keep(char *name, size_t namesz, unsigned char *sha1);