summaryrefslogtreecommitdiff
path: root/alias.c
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2009-05-01 09:06:36 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-05-01 22:17:31 (GMT)
commit4b25d091ba53c758fae0096b8c0662371857b9d9 (patch)
treefc5bb9b0e2ffad8182f26a7efafae8571e613b48 /alias.c
parent75b44066f3ed7cde238cdea1f0bf9e2f1744c820 (diff)
downloadgit-4b25d091ba53c758fae0096b8c0662371857b9d9.zip
git-4b25d091ba53c758fae0096b8c0662371857b9d9.tar.gz
git-4b25d091ba53c758fae0096b8c0662371857b9d9.tar.bz2
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 'alias.c')
-rw-r--r--alias.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/alias.c b/alias.c
index ccb1108..e687fe5 100644
--- a/alias.c
+++ b/alias.c
@@ -27,7 +27,7 @@ int split_cmdline(char *cmdline, const char ***argv)
int src, dst, count = 0, size = 16;
char quoted = 0;
- *argv = xmalloc(sizeof(char*) * size);
+ *argv = xmalloc(sizeof(char *) * size);
/* split alias_string */
(*argv)[count++] = cmdline;
@@ -40,7 +40,7 @@ int split_cmdline(char *cmdline, const char ***argv)
; /* skip */
if (count >= size) {
size += 16;
- *argv = xrealloc(*argv, sizeof(char*) * size);
+ *argv = xrealloc(*argv, sizeof(char *) * size);
}
(*argv)[count++] = cmdline + dst;
} else if (!quoted && (c == '\'' || c == '"')) {