diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2015-01-05 15:17:56 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2015-01-05 15:17:56 -0800 |
commit | 724719b1da2f21d77745ff4606f5299a837c6633 (patch) | |
tree | e68af21a5645f7c03f474eb3842ac5510414d672 | |
parent | 7cc90badae553a5ae25c3d93b75b024c73e2c7f4 (diff) | |
download | nasm-724719b1da2f21d77745ff4606f5299a837c6633.tar.gz |
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 <hpa@linux.intel.com>
-rw-r--r-- | nasm.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |