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
@ -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 {
|
||||
|
Reference in New Issue
Block a user