X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=git-compat-util.h;h=5bd9ad7d2a23773b1410ded9f4f241ebe4d4da00;hb=5a29217dda0625707a46f527d17489c0bff0c2c9;hp=426ae43be9cd7aa4230888ff0aa28ed2fd165ce0;hpb=b2bab5b338b30d45e338c8df3c15e6483d6bb11e;p=git.git diff --git a/git-compat-util.h b/git-compat-util.h index 426ae43be..5bd9ad7d2 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -457,6 +457,9 @@ static inline int has_extension(const char *filename, const char *ext) return len > extlen && !memcmp(filename + len - extlen, ext, extlen); } +/* in ctype.c, for kwset users */ +extern const char tolower_trans_tbl[256]; + /* Sane ctype - no locale, and works with signed chars */ #undef isascii #undef isspace @@ -592,4 +595,7 @@ int rmdir_or_warn(const char *path); */ int remove_or_warn(unsigned int mode, const char *path); +/* Get the passwd entry for the UID of the current process. */ +struct passwd *xgetpwuid_self(void); + #endif