]> wimlib.net Git - wimlib/commitdiff
win32_replacements.c: Remove unnecessary 'extern'
authorEric Biggers <ebiggers3@gmail.com>
Fri, 16 May 2014 01:37:50 +0000 (20:37 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Fri, 16 May 2014 01:37:50 +0000 (20:37 -0500)
src/win32_replacements.c

index 25a3ae08c96e0a2ea720720fe2f08013ecfe8c40..5b3017a33af07437d178b1215dadef2c94b52241 100644 (file)
@@ -191,7 +191,7 @@ err_set_errno:
 /* This really could be replaced with _wcserror_s, but this doesn't seem to
  * actually be available in MSVCRT.DLL on Windows XP (perhaps it's statically
  * linked in by Visual Studio...?). */
-extern int
+int
 win32_strerror_r_replacement(int errnum, wchar_t *buf, size_t buflen)
 {
        static pthread_mutex_t strerror_lock = PTHREAD_MUTEX_INITIALIZER;