From 8bf1104532ba4fbf5dc3efb444067f3ad6291785 Mon Sep 17 00:00:00 2001 From: kramm Date: Sun, 9 Sep 2007 10:26:56 +0000 Subject: [PATCH] changed mktempname prototype --- lib/os.c | 2 +- lib/os.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/os.c b/lib/os.c index 0e850ca..9c4e725 100755 --- a/lib/os.c +++ b/lib/os.c @@ -161,7 +161,7 @@ static char* getTempDir() return dir; } -char* mktempname(const char*ptr) { +char* mktempname(char*ptr) { static char tmpbuf[128]; char*dir = getTempDir(); int l = strlen(dir); diff --git a/lib/os.h b/lib/os.h index 2b321db..67736fc 100755 --- a/lib/os.h +++ b/lib/os.h @@ -38,7 +38,7 @@ char* getInstallationPath(); char* concatPaths(const char*base, const char*add); char* stripFilename(const char*filename, const char*newext); -char* mktempname(const char*); +char* mktempname(char*buffer); #ifdef __cplusplus } -- 1.7.10.4