aboutsummaryrefslogtreecommitdiff
path: root/run-command.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 /run-command.c
parent75b44066f3ed7cde238cdea1f0bf9e2f1744c820 (diff)
downloadgit-4b25d091ba53c758fae0096b8c0662371857b9d9.tar.gz
git-4b25d091ba53c758fae0096b8c0662371857b9d9.tar.xz
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 'run-command.c')
-rw-r--r--run-command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-command.c b/run-command.c
index b05c734d0..eb2efc330 100644
--- a/run-command.c
+++ b/run-command.c
@@ -106,7 +106,7 @@ int start_command(struct child_process *cmd)
if (cmd->env) {
for (; *cmd->env; cmd->env++) {
if (strchr(*cmd->env, '='))
- putenv((char*)*cmd->env);
+ putenv((char *)*cmd->env);
else
unsetenv(*cmd->env);
}