]> Savannah Git Hosting - gnulib.git/commitdiff
error: More clang -Winclude-next-absolute-path silencing.
authorBruno Haible <bruno@clisp.org>
Fri, 29 Dec 2023 09:39:52 +0000 (10:39 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 29 Dec 2023 09:39:52 +0000 (10:39 +0100)
* modules/error (Include): Suggest <error.h>, not "error.h".
* tests/test-error.c: Write #include <error.h>.
* tests/test-exclude.c: Likewise.
* tests/test-verror.c: Likewise.
* tests/test-xstrtol.c: Likewise.

ChangeLog
modules/error
tests/test-error.c
tests/test-exclude.c
tests/test-verror.c
tests/test-xstrtol.c

index d07835db5ba685e6836d564f953d23c4822bd561..4c5a678323f48acd0f4163eb56a6b7a06fa345a9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2023-12-29  Bruno Haible  <bruno@clisp.org>
+
+       error: More clang -Winclude-next-absolute-path silencing.
+       * modules/error (Include): Suggest <error.h>, not "error.h".
+       * tests/test-error.c: Write #include <error.h>.
+       * tests/test-exclude.c: Likewise.
+       * tests/test-verror.c: Likewise.
+       * tests/test-xstrtol.c: Likewise.
+
 2023-12-28  Paul Eggert  <eggert@cs.ucla.edu>
 
        include_next: pacify clang -Winclude-next-absolute-path
index 88d567674aa1e5b6a65b0a5481e3abd79e2ada4a..4d896ce9136d6f7e273264487ba3fea6132bee5d 100644 (file)
@@ -31,7 +31,7 @@ lib_SOURCES += error.c
 endif
 
 Include:
-"error.h"
+<error.h>
 
 License:
 LGPLv2+
index 463b1915c43c939e82e34718e0113b4399d035da..f2f7a15feaf82af3a6c4b07613649dfe8bc3e24c 100644 (file)
@@ -18,7 +18,8 @@
 
 #include <config.h>
 
-#include "error.h"
+/* Specification.  */
+#include <error.h>
 
 #include <errno.h>
 
index 5a81cab4be625b75f466ca02f67866d5f864bfe4..363dfc3b3e3f50265f5c793b7576286982bbd67d 100644 (file)
@@ -22,8 +22,8 @@
 #include <string.h>
 #include <fnmatch.h>
 
+#include <error.h>
 #include "exclude.h"
-#include "error.h"
 #include "argmatch.h"
 
 #ifndef FNM_CASEFOLD
index 7c808d790808ca456f766698c6b755fc2897c17d..49b4f51db0895a38c4e8aa6e5143b12dab19fe2a 100644 (file)
@@ -23,7 +23,7 @@
 #include <errno.h>
 #include <stdarg.h>
 
-#include "error.h"
+#include <error.h>
 #include "macros.h"
 
 /* Custom function to not show the program name in error messages.  */
index 9c5d35f6e4485bd12b085d1d5f1563a1b4f5fe37..fd37e30a7da78d4842ed34da0fa4769f1d51ad6d 100644 (file)
@@ -20,8 +20,8 @@
 #include <stdlib.h>
 #include <stdio.h>
 
+#include <error.h>
 #include "xstrtol-error.h"
-#include "error.h"
 
 #ifndef __xstrtol
 # define __xstrtol xstrtol