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>
This commit is contained in:

committed by
Junio C Hamano

parent
75b44066f3
commit
4b25d091ba
4
alias.c
4
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 == '"')) {
|
||||
|
Reference in New Issue
Block a user