diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-09-15 22:50:09 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-09-15 22:58:21 -0700 |
commit | dad148c35975923c7a13058c20e01bb587ace4ef (patch) | |
tree | b0f3e8e9008f6129423de16e61360de8d355f72a /ident.c | |
parent | cbfb93a12b7f60dcd0f5a0cd3f5f37ee694ecd3a (diff) | |
download | git-dad148c35975923c7a13058c20e01bb587ace4ef.tar.gz |
ident.c: mark private file-scope symbols as static
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ident.c')
-rw-r--r-- | ident.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -93,7 +93,7 @@ static void copy_email(const struct passwd *pw, struct strbuf *email) add_domainname(email); } -const char *ident_default_name(void) +static const char *ident_default_name(void) { if (!git_default_name.len) { copy_gecos(xgetpwuid_self(), &git_default_name); @@ -117,7 +117,7 @@ const char *ident_default_email(void) return git_default_email.buf; } -const char *ident_default_date(void) +static const char *ident_default_date(void) { if (!git_default_date[0]) datestamp(git_default_date, sizeof(git_default_date)); |