summaryrefslogtreecommitdiffstats
path: root/lockfile.c
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2009-05-01 11:06:36 +0200
committerJunio C Hamano <gitster@pobox.com>2009-05-02 00:17:31 +0200
commit4b25d091ba53c758fae0096b8c0662371857b9d9 (patch)
treefc5bb9b0e2ffad8182f26a7efafae8571e613b48 /lockfile.c
parentMerge git://git.kernel.org/pub/scm/gitk/gitk (diff)
downloadgit-4b25d091ba53c758fae0096b8c0662371857b9d9.tar.xz
git-4b25d091ba53c758fae0096b8c0662371857b9d9.zip
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 'lockfile.c')
-rw-r--r--lockfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lockfile.c b/lockfile.c
index 3dbb2d1ff9..828d19f452 100644
--- a/lockfile.c
+++ b/lockfile.c
@@ -109,7 +109,7 @@ static char *resolve_symlink(char *p, size_t s)
* link is a relative path, so I must replace the
* last element of p with it.
*/
- char *r = (char*)last_path_elm(p);
+ char *r = (char *)last_path_elm(p);
if (r - p + link_len < s)
strcpy(r, link);
else {