From: nasm-bot f. H. P. A. <hp...@li...> - 2015-01-05 23:24:31
|
Commit-ID: 724719b1da2f21d77745ff4606f5299a837c6633 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=724719b1da2f21d77745ff4606f5299a837c6633 Author: H. Peter Anvin <hp...@li...> AuthorDate: Mon, 5 Jan 2015 15:17:56 -0800 Committer: H. Peter Anvin <hp...@li...> CommitDate: Mon, 5 Jan 2015 15:17:56 -0800 Change posix_mktime() to make_posix_time() The posix_ prefix is reserved for POSIX, and even if there never is a posix_mktime() defined it might be confusing for programmers familiar with this convention. Signed-off-by: H. Peter Anvin <hp...@li...> --- nasm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nasm.c b/nasm.c index 37b40b0..8557b4d 100644 --- a/nasm.c +++ b/nasm.c @@ -199,7 +199,7 @@ static void nasm_fputs(const char *line, FILE * outfile) } /* Convert a struct tm to a POSIX-style time constant */ -static int64_t posix_mktime(struct tm *tm) +static int64_t make_posix_time(struct tm *tm) { int64_t t; int64_t y = tm->tm_year; @@ -253,9 +253,9 @@ static void define_macros_early(void) } if (gm_p) - posix_time = posix_mktime(&gm); + posix_time = make_posix_time(&gm); else if (lt_p) - posix_time = posix_mktime(<); + posix_time = make_posix_time(<); else posix_time = 0; |