]> Savannah Git Hosting - gnulib.git/commitdiff
quotearg: Tweak last commit.
authorBruno Haible <bruno@clisp.org>
Sat, 7 Aug 2021 13:24:51 +0000 (15:24 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 7 Aug 2021 13:24:51 +0000 (15:24 +0200)
* lib/quotearg.h: Don't include <stddef.h>. Remove stray semicolon.

ChangeLog
lib/quotearg.h

index 47f05b35fc8e0cfd57bf92d71db339d7da0cf937..688d96b6d1afdd44a8b1460d1e6eb50710ebd87d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2021-08-07  Bruno Haible  <bruno@clisp.org>
+
+       quotearg: Tweak last commit.
+       * lib/quotearg.h: Don't include <stddef.h>. Remove stray semicolon.
+
 2021-08-07  Bruno Haible  <bruno@clisp.org>
 
        malloca: Tweak last commit.
index 22c09bcea135c6fcd22f41b9e456ca36ef85f7e5..f5644b8afb0ea2f0156759189657d5a665417597 100644 (file)
@@ -21,7 +21,6 @@
 #ifndef QUOTEARG_H_
 # define QUOTEARG_H_ 1
 
-# include <stddef.h>
 # include <stdlib.h>
 
 /* Basic quoting styles.  For each style, an example is given on the
@@ -279,6 +278,7 @@ struct quoting_options;
 struct quoting_options *clone_quoting_options (struct quoting_options *o)
   _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE
   _GL_ATTRIBUTE_RETURNS_NONNULL;
+
 /* Get the value of O's quoting style.  If O is null, use the default.  */
 enum quoting_style get_quoting_style (struct quoting_options const *o);
 
@@ -347,7 +347,6 @@ char *quotearg_alloc_mem (char const *arg, size_t argsize,
                           size_t *size, struct quoting_options const *o)
   _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE
   _GL_ATTRIBUTE_RETURNS_NONNULL;
-;
 
 /* Use storage slot N to return a quoted version of the string ARG.
    Use the default quoting options.