* lib/mkstemp-safer.c (mkstemp_safer): Allow C++ compilation.
authorEric Blake <ebb9@byu.net>
Wed, 1 Nov 2006 16:49:05 +0000 (16:49 +0000)
committerEric Blake <ebb9@byu.net>
Wed, 1 Nov 2006 16:49:05 +0000 (16:49 +0000)
ChangeLog
lib/mkstemp-safer.c

index 864c296..14955b0 100644 (file)
--- 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>
index 365b3e6..c8c5bbd 100644 (file)
@@ -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));
 }