From 4af8a138faa5159e9b0727508319e4b2651036ee Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Wed, 1 Nov 2006 16:49:05 +0000 Subject: [PATCH] * lib/mkstemp-safer.c (mkstemp_safer): Allow C++ compilation. --- ChangeLog | 2 ++ lib/mkstemp-safer.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 864c2961d3..14955b0bcf 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 365b3e6a76..c8c5bbd6e4 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)); } -- 2.30.2