http: respect protocol.*.allow=user for http-alternates
[gitweb.git] / git-compat-util.h
index f1f98b50d7e3453c66b492e7763f3640198f803f..b4b7f44952f2f1c53b6a35e99b7831df1adfabb6 100644 (file)
@@ -802,7 +802,7 @@ extern FILE *fopen_for_writing(const char *path);
  * you can do:
  *
  *   struct foo *f;
- *   FLEX_ALLOC_STR(f, name, src);
+ *   FLEXPTR_ALLOC_STR(f, name, src);
  *
  * and "name" will point to a block of memory after the struct, which will be
  * freed along with the struct (but the pointer can be repointed anywhere).
@@ -1049,3 +1049,5 @@ struct tm *git_gmtime_r(const time_t *, struct tm *);
 #endif
 
 #endif
+
+extern int cmd_main(int, const char **);