changeset 7595:d96b2147d668

* lib/mkstemp-safer.c (mkstemp_safer): Allow C++ compilation.
author Eric Blake <ebb9@byu.net>
date Wed, 01 Nov 2006 16:49:05 +0000
parents 1050e73524d4
children 49c1c5e086f4
files ChangeLog lib/mkstemp-safer.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2006-11-01  Eric Blake  <ebb9@byu.net>
 
+	* lib/mkstemp-safer.c (mkstemp_safer): Allow C++ compilation.
+
 	* m4/mkstemp.m4 (gl_FUNC_MKSTEMP): Allow C++ configuration.
 
 2006-10-29  Bruno Haible  <bruno@clisp.org>
--- a/lib/mkstemp-safer.c
+++ b/lib/mkstemp-safer.c
@@ -29,7 +29,7 @@
    STDERR_FILENO.  */
 
 int
-mkstemp_safer (char *template)
+mkstemp_safer (char *templ)
 {
-  return fd_safer (mkstemp (template));
+  return fd_safer (mkstemp (templ));
 }