From 6ac8f16efbd5aea3efae4f559bb4dc0e8f981367 Mon Sep 17 00:00:00 2001 From: Dmitry Brant Date: Tue, 2 Aug 2016 09:02:40 -0400 Subject: [PATCH] Improve naming consistency. --- BasiliskII/src/Windows/posix_emu.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BasiliskII/src/Windows/posix_emu.cpp b/BasiliskII/src/Windows/posix_emu.cpp index 26b99939..8d671abc 100755 --- a/BasiliskII/src/Windows/posix_emu.cpp +++ b/BasiliskII/src/Windows/posix_emu.cpp @@ -1124,7 +1124,7 @@ int my_write( int fd, const void *buffer, unsigned int count ) return result; } -FILETIME getFileTime(time_t time) { +static FILETIME get_file_time(time_t time) { FILETIME ft; unsigned long long result = 11644473600LL; result += time; @@ -1140,8 +1140,8 @@ int my_utime( const char *path, struct my_utimbuf * my_times ) LPCTSTR p = MRP(tpath.get()); HANDLE f = CreateFile(p, FILE_WRITE_ATTRIBUTES, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); if (f != INVALID_HANDLE_VALUE) { - FILETIME crTime = getFileTime(my_times->actime); - FILETIME modTime = getFileTime(my_times->modtime); + FILETIME crTime = get_file_time(my_times->actime); + FILETIME modTime = get_file_time(my_times->modtime); SetFileTime(f, &crTime, NULL, &modTime); CloseHandle(f); return 0;