From: Eric Blake Date: Wed, 1 Nov 2006 16:49:05 +0000 (+0000) Subject: * lib/mkstemp-safer.c (mkstemp_safer): Allow C++ compilation. X-Git-Tag: cvs-readonly~1623 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=4af8a138faa5159e9b0727508319e4b2651036ee;p=gnulib.git * lib/mkstemp-safer.c (mkstemp_safer): Allow C++ compilation. --- diff --git a/ChangeLog b/ChangeLog index 864c2961d..14955b0bc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2006-11-01 Eric Blake + * lib/mkstemp-safer.c (mkstemp_safer): Allow C++ compilation. + * m4/mkstemp.m4 (gl_FUNC_MKSTEMP): Allow C++ configuration. 2006-10-29 Bruno Haible diff --git a/lib/mkstemp-safer.c b/lib/mkstemp-safer.c index 365b3e6a7..c8c5bbd6e 100644 --- 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)); }