From f68854b4c344ed6ebf1893055bd63654849996e1 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Tue, 19 Apr 2005 00:12:36 +0000 Subject: Various Win32 and other fixes for warnings and compilation errors. Fix Win32 build system to use 'Makefile' instead of 'Makefile.ssl'. --- apps/apps.c | 2 +- apps/apps.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'apps') diff --git a/apps/apps.c b/apps/apps.c index 988bb6e941..fb9f72fbea 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -2146,7 +2146,7 @@ error: /* This code MUST COME AFTER anything that uses rename() */ #ifdef OPENSSL_SYS_WIN32 -int WIN32_rename(char *from, char *to) +int WIN32_rename(const char *from, const char *to) { #ifndef OPENSSL_SYS_WINCE /* Windows rename gives an error if 'to' exists, so delete it diff --git a/apps/apps.h b/apps/apps.h index b9bb91c186..26dcbc5771 100644 --- a/apps/apps.h +++ b/apps/apps.h @@ -136,7 +136,7 @@ long app_RAND_load_files(char *file); /* `file' is a list of files to read, #ifdef OPENSSL_SYS_WIN32 #define rename(from,to) WIN32_rename((from),(to)) -int WIN32_rename(char *oldname,char *newname); +int WIN32_rename(const char *oldname,const char *newname); #endif #ifndef MONOLITH -- cgit v1.2.3