]> Savannah Git Hosting - gnulib.git/commitdiff
dirname-lgpl, sh-quote, system-quote, xstriconv: Clean up includes.
authorBruno Haible <bruno@clisp.org>
Sat, 7 Aug 2021 13:11:43 +0000 (15:11 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 7 Aug 2021 13:11:43 +0000 (15:11 +0200)
* lib/dirname.h: Don't include <stddef.h>.
* lib/sh-quote.h: Likewise.
* lib/system-quote.h: Likewise.
* lib/xstriconv.h: Likewise.

ChangeLog
lib/dirname.h
lib/sh-quote.h
lib/system-quote.h
lib/xstriconv.h

index be764cb5105fabce987d6a6b78078df741cbd180..7bdffe9438195f68ddb8d31a95e9d78127c90d5d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2021-08-07  Bruno Haible  <bruno@clisp.org>
+
+       dirname-lgpl, sh-quote, system-quote, xstriconv: Clean up includes.
+       * lib/dirname.h: Don't include <stddef.h>.
+       * lib/sh-quote.h: Likewise.
+       * lib/system-quote.h: Likewise.
+       * lib/xstriconv.h: Likewise.
+
 2021-08-07  Bruno Haible  <bruno@clisp.org>
 
        dfa: Improve GCC 11 allocation-deallocation checking.
index 04f823eca0b0e9bc42f9e492bb400114e261b70a..25abc7b7ea0c0b68fec12d6c7d175d5024593f28 100644 (file)
@@ -20,7 +20,6 @@
 # define DIRNAME_H_ 1
 
 # include <stdbool.h>
-# include <stddef.h>
 # include <stdlib.h>
 # include "filename.h"
 # include "basename-lgpl.h"
index 0101036e5f9845fa6dbd46951c751bf8738b88f2..ab440c66ab2d2e0f87b47491ca93d8ee241d226a 100644 (file)
@@ -22,7 +22,6 @@
    arguments, since Unix shells interpret characters like " ", "'", "<", ">",
    "$", '*', '?' etc. in a special way.  */
 
-#include <stddef.h>
 #include <stdlib.h>
 
 #ifdef __cplusplus
index b1bbf652168d5405e83b1905898c73d572eb8969..6cfddd0821f138e42444e24951bd983b1373102d 100644 (file)
@@ -46,7 +46,6 @@
       is to truncate the entire command line.
  */
 
-#include <stddef.h>
 #include <stdlib.h>
 
 #ifdef __cplusplus
index d90aa4c5cf1af0a1ff568305416f2b36659d150e..879a772dfa21d79e6b820c04ea4b65e74210ffe0 100644 (file)
@@ -18,7 +18,6 @@
 #ifndef _XSTRICONV_H
 #define _XSTRICONV_H
 
-#include <stddef.h>
 #include <stdlib.h>
 #if HAVE_ICONV
 #include <iconv.h>
@@ -72,6 +71,7 @@ extern char * xstr_iconv (const char *src,
                           const char *from_codeset, const char *to_codeset)
   _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE;
 
+
 #ifdef __cplusplus
 }
 #endif