stylefix: asterisks stick to the variable, not the type

Signed-off-by: David Aguilar <davvid@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

David Aguilar committed Aug 31, 2014 at 13:11 UTC 24d36f1472794ba95ddc81ba8afb45fe30d1f35c
7 files changed +10 -9
builtin/clone.c
+4 -3
@@ -685,9 +685,10 @@ static void write_config(struct string_list *config)
685 }
686 }
687
688 -static void write_refspec_config(const char* src_ref_prefix,
689 - const struct ref* our_head_points_at,
690 - const struct ref* remote_head_points_at, struct strbuf* branch_top)
688 +static void write_refspec_config(const char *src_ref_prefix,
689 + const struct ref *our_head_points_at,
690 + const struct ref *remote_head_points_at,
691 + struct strbuf *branch_top)
692 {
693 struct strbuf key = STRBUF_INIT;
694 struct strbuf value = STRBUF_INIT;
commit.c
+1 -1
@@ -1256,7 +1256,7 @@ static void parse_gpg_output(struct signature_check *sigc)
1256 }
1257 }
1258
1259 -void check_commit_signature(const struct commit* commit, struct signature_check *sigc)
1259 +void check_commit_signature(const struct commit *commit, struct signature_check *sigc)
1260 {
1261 struct strbuf payload = STRBUF_INIT;
1262 struct strbuf signature = STRBUF_INIT;
commit.h
+1 -1
@@ -346,7 +346,7 @@ extern void print_commit_list(struct commit_list *list,
346 * at all. This may allocate memory for sig->gpg_output, sig->gpg_status,
347 * sig->signer and sig->key.
348 */
349 -extern void check_commit_signature(const struct commit* commit, struct signature_check *sigc);
349 +extern void check_commit_signature(const struct commit *commit, struct signature_check *sigc);
350
351 int compare_commits_by_commit_date(const void *a_, const void *b_, void *unused);
352
reflog-walk.c
+1 -1
@@ -133,7 +133,7 @@ struct reflog_walk_info {
133 struct commit_reflog *last_commit_reflog;
134 };
135
136 -void init_reflog_walk(struct reflog_walk_info** info)
136 +void init_reflog_walk(struct reflog_walk_info **info)
137 {
138 *info = xcalloc(1, sizeof(struct reflog_walk_info));
139 }
reflog-walk.h
+1 -1
@@ -5,7 +5,7 @@
5
6 struct reflog_walk_info;
7
8 -extern void init_reflog_walk(struct reflog_walk_info** info);
8 +extern void init_reflog_walk(struct reflog_walk_info **info);
9 extern int add_reflog_for_walk(struct reflog_walk_info *info,
10 struct commit *commit, const char *name);
11 extern void fake_reflog_parent(struct reflog_walk_info *info,
refs.h
+1 -1
@@ -77,7 +77,7 @@ static inline const char *has_glob_specials(const char *pattern)
77 extern int for_each_rawref(each_ref_fn, void *);
78
79 extern void warn_dangling_symref(FILE *fp, const char *msg_fmt, const char *refname);
80 -extern void warn_dangling_symrefs(FILE *fp, const char *msg_fmt, const struct string_list* refnames);
80 +extern void warn_dangling_symrefs(FILE *fp, const char *msg_fmt, const struct string_list *refnames);
81
82 /*
83 * Lock the packed-refs file for writing. Flags is passed to
remote-curl.c
+1 -1
@@ -221,7 +221,7 @@ static int show_http_message(struct strbuf *type, struct strbuf *charset,
221 return 0;
222 }
223
224 -static struct discovery* discover_refs(const char *service, int for_push)
224 +static struct discovery *discover_refs(const char *service, int for_push)
225 {
226 struct strbuf exp = STRBUF_INIT;
227 struct strbuf type = STRBUF_INIT;