git-remote-mediawiki: more efficient 'pull' in the best case
[git.git] / git-compat-util.h
index 426ae43be9cd7aa4230888ff0aa28ed2fd165ce0..5bd9ad7d2a23773b1410ded9f4f241ebe4d4da00 100644 (file)
@@ -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