]> git.ipfire.org Git - thirdparty/git.git/commitdiff
stylefix: asterisks stick to the variable, not the type
authorDavid Aguilar <davvid@gmail.com>
Sun, 31 Aug 2014 20:11:31 +0000 (13:11 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Sep 2014 18:33:32 +0000 (11:33 -0700)
Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/clone.c
commit.c
commit.h
reflog-walk.c
reflog-walk.h
refs.h
remote-curl.c

index bbd169ceb49b2e09197e469aeb572e9aa54d4b85..315969d4e75488adae20e677e6ff4038191eb7f1 100644 (file)
@@ -685,9 +685,10 @@ static void write_config(struct string_list *config)
        }
 }
 
-static void write_refspec_config(const char* src_ref_prefix,
-               const struct ref* our_head_points_at,
-               const struct ref* remote_head_points_at, struct strbuf* branch_top)
+static void write_refspec_config(const char *src_ref_prefix,
+               const struct ref *our_head_points_at,
+               const struct ref *remote_head_points_at,
+               struct strbuf *branch_top)
 {
        struct strbuf key = STRBUF_INIT;
        struct strbuf value = STRBUF_INIT;
index ae7f2b10f4e08a549614346c8262b10503cca953..4de6be4107c010f4bebeba5d1ce71bf269374d6d 100644 (file)
--- a/commit.c
+++ b/commit.c
@@ -1256,7 +1256,7 @@ static void parse_gpg_output(struct signature_check *sigc)
        }
 }
 
-void check_commit_signature(const struct commitcommit, struct signature_check *sigc)
+void check_commit_signature(const struct commit *commit, struct signature_check *sigc)
 {
        struct strbuf payload = STRBUF_INIT;
        struct strbuf signature = STRBUF_INIT;
index a8cbf52f15ff01778ba61a5a888263d424b2d8d2..268c9d7cac9729486f06721676a749b82176da6e 100644 (file)
--- a/commit.h
+++ b/commit.h
@@ -346,7 +346,7 @@ extern void print_commit_list(struct commit_list *list,
  * at all.  This may allocate memory for sig->gpg_output, sig->gpg_status,
  * sig->signer and sig->key.
  */
-extern void check_commit_signature(const struct commitcommit, struct signature_check *sigc);
+extern void check_commit_signature(const struct commit *commit, struct signature_check *sigc);
 
 int compare_commits_by_commit_date(const void *a_, const void *b_, void *unused);
 
index 9ce8b53ccc85abcf27d7aff8f86a350ef2cd36b2..0e5174b6059174d2bcdb15ab584b747205e782dd 100644 (file)
@@ -133,7 +133,7 @@ struct reflog_walk_info {
        struct commit_reflog *last_commit_reflog;
 };
 
-void init_reflog_walk(struct reflog_walk_info** info)
+void init_reflog_walk(struct reflog_walk_info **info)
 {
        *info = xcalloc(1, sizeof(struct reflog_walk_info));
 }
index 50265f51c56431025b665abf34ac29fdce3d302b..a9bd60e32d24bf61cbc2ea879b5bfd0e0e5c5c61 100644 (file)
@@ -5,7 +5,7 @@
 
 struct reflog_walk_info;
 
-extern void init_reflog_walk(struct reflog_walk_info** info);
+extern void init_reflog_walk(struct reflog_walk_info **info);
 extern int add_reflog_for_walk(struct reflog_walk_info *info,
                struct commit *commit, const char *name);
 extern void fake_reflog_parent(struct reflog_walk_info *info,
diff --git a/refs.h b/refs.h
index ec46acdde7b67d3531a4c0e18d33901d2a4f307a..00f209a138f066ff1b404164ed9d754ea276f50f 100644 (file)
--- a/refs.h
+++ b/refs.h
@@ -77,7 +77,7 @@ static inline const char *has_glob_specials(const char *pattern)
 extern int for_each_rawref(each_ref_fn, void *);
 
 extern void warn_dangling_symref(FILE *fp, const char *msg_fmt, const char *refname);
-extern void warn_dangling_symrefs(FILE *fp, const char *msg_fmt, const struct string_listrefnames);
+extern void warn_dangling_symrefs(FILE *fp, const char *msg_fmt, const struct string_list *refnames);
 
 /*
  * Lock the packed-refs file for writing.  Flags is passed to
index 0fcf2ce5ff20cc7c6f1bdf6257c94cf8fa21b35a..d2229e0efd2a3d7236a24a2a948be87ad09ee5ae 100644 (file)
@@ -221,7 +221,7 @@ static int show_http_message(struct strbuf *type, struct strbuf *charset,
        return 0;
 }
 
-static struct discoverydiscover_refs(const char *service, int for_push)
+static struct discovery *discover_refs(const char *service, int for_push)
 {
        struct strbuf exp = STRBUF_INIT;
        struct strbuf type = STRBUF_INIT;