summaryrefslogtreecommitdiff
path: root/server-info.c
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2009-05-01 12:06:36 +0300
committerJunio C Hamano <gitster@pobox.com>2009-05-01 15:17:31 -0700
commit4b25d091ba53c758fae0096b8c0662371857b9d9 (patch)
treefc5bb9b0e2ffad8182f26a7efafae8571e613b48 /server-info.c
parent75b44066f3ed7cde238cdea1f0bf9e2f1744c820 (diff)
downloadgit-4b25d091ba53c758fae0096b8c0662371857b9d9.tar.gz
Fix a bunch of pointer declarations (codestyle)
Essentially; s/type* /type */ as per the coding guidelines. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'server-info.c')
-rw-r--r--server-info.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server-info.c b/server-info.c
index 66b0d9d878..906ce5b272 100644
--- a/server-info.c
+++ b/server-info.c
@@ -132,8 +132,8 @@ static int read_pack_info_file(const char *infofile)
static int compare_info(const void *a_, const void *b_)
{
- struct pack_info * const* a = a_;
- struct pack_info * const* b = b_;
+ struct pack_info *const *a = a_;
+ struct pack_info *const *b = b_;
if (0 <= (*a)->old_num && 0 <= (*b)->old_num)
/* Keep the order in the original */