From d537b7bee7292964d52601bf4bdf11490f3e56ac Mon Sep 17 00:00:00 2001 From: Nils Durner Date: Tue, 1 Sep 2009 20:40:18 +0000 Subject: [PATCH] avoid c++ keyword --- src/include/gnunet_disk_lib.h | 2 +- src/util/disk.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/include/gnunet_disk_lib.h b/src/include/gnunet_disk_lib.h index 692507641..1f48d0d6a 100644 --- a/src/include/gnunet_disk_lib.h +++ b/src/include/gnunet_disk_lib.h @@ -157,7 +157,7 @@ int GNUNET_DISK_file_size (const char *filename, * file on disk in directory for temporary files */ char * -GNUNET_DISK_mktemp (const char *template); +GNUNET_DISK_mktemp (const char *t); /** diff --git a/src/util/disk.c b/src/util/disk.c index 899299e07..b8653ed1e 100644 --- a/src/util/disk.c +++ b/src/util/disk.c @@ -200,7 +200,7 @@ GNUNET_DISK_file_size (const char *filename, * file on disk in directory for temporary files */ char * -GNUNET_DISK_mktemp (const char *template) +GNUNET_DISK_mktemp (const char *t) { const char *tmpdir; int fd; @@ -214,7 +214,7 @@ GNUNET_DISK_mktemp (const char *template) "%s%s%s%s", tmpdir, DIR_SEPARATOR_STR, - template, + t, "XXXXXX"); #ifdef MINGW fn = (char *) GNUNET_malloc (MAX_PATH + 1); -- 2.25.1