diff options
author | Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br> | 2007-04-15 18:40:31 -0300 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-04-15 15:59:09 -0700 |
commit | 0b952a98f1dafc61e966237947e7836814fb74f5 (patch) | |
tree | 6f1ebc4985703d7eca5caad2379a8d935291d03b /ident.c | |
parent | edb4fd79ec34254fc4a1c35e8834df4c92cb3bfd (diff) | |
download | git-0b952a98f1dafc61e966237947e7836814fb74f5.tar.gz |
ident.c: Use const qualifier for 'struct passwd' parameters
Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'ident.c')
-rw-r--r-- | ident.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9,7 +9,7 @@ static char git_default_date[50]; -static void copy_gecos(struct passwd *w, char *name, int sz) +static void copy_gecos(const struct passwd *w, char *name, int sz) { char *src, *dst; int len, nlen; @@ -43,7 +43,7 @@ static void copy_gecos(struct passwd *w, char *name, int sz) } -static void copy_email(struct passwd *pw) +static void copy_email(const struct passwd *pw) { /* * Make up a fake email address |