Fix syntax error in C++ mode.
authorBruno Haible <bruno@clisp.org>
Sun, 13 May 2007 21:44:46 +0000 (21:44 +0000)
committerBruno Haible <bruno@clisp.org>
Sun, 13 May 2007 21:44:46 +0000 (21:44 +0000)
ChangeLog
lib/stdlib_.h

index 235043e355b02ac8cad7991c230ad91729f33993..efaf8a11237c9a2065cf69e9f5cbbc3c8fdc6bba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2007-05-13  Bruno Haible  <bruno@clisp.org>
+
+       * lib/stdlib_.h (mkdtemp, mkstemp): Comment out argument name. Needed
+       when used in C++ mode.
+
+2007-05-12  Bruno Haible  <bruno@clisp.org>
+
+       * lib/linebuffer.h: Tweak doc.
+       * lib/linebuffer.c: Likewise.
+
 2007-05-12  James Youngman  <jay@gnu.org>
 
        * lib/linebuffer.c (readlinebuffer_delim): New function,
index c947c1d263796f74cec76f463b07e4109d2718de..425961edda799e404f5c952d96ce966135d02ea9 100644 (file)
@@ -103,7 +103,7 @@ extern int getsubopt (char **optionp, char *const *tokens, char **valuep);
    they are replaced with a string that makes the directory name unique.
    Returns TEMPLATE, or a null pointer if it cannot get a unique name.
    The directory is created mode 700.  */
-extern char * mkdtemp (char *template);
+extern char * mkdtemp (char * /*template*/);
 # endif
 #elif defined GNULIB_POSIXCHECK
 # undef mkdtemp
@@ -126,7 +126,7 @@ extern char * mkdtemp (char *template);
    Returns the open file descriptor if successful, otherwise -1 and errno
    set.  */
 #  define mkstemp rpl_mkstemp
-extern int mkstemp (char *template);
+extern int mkstemp (char * /*template*/);
 # else
 /* On MacOS X 10.3, only <unistd.h> declares mkstemp.  */
 #  include <unistd.h>