From 09865086814863cf066b849e840dd2c2280db1ce Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Tue, 13 Aug 2024 20:51:25 -0700 Subject: [PATCH] Prefer #include <...> for system headers. See . * gnulib-local/lib/xmalloc.c: Include . * src/iconv.c: Likewise. --- ChangeLog | 7 +++++++ gnulib-local/lib/xmalloc.c | 4 ++-- src/iconv.c | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2a1f8e2..f35c850 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2024-08-14 Collin Funk (tiny change) + + Prefer #include <...> for system headers. + See . + * gnulib-local/lib/xmalloc.c: Include . + * src/iconv.c: Likewise. + 2024-07-12 Bruno Haible Switch to automake 1.17. diff --git a/gnulib-local/lib/xmalloc.c b/gnulib-local/lib/xmalloc.c index d749a4a..0fd80ac 100644 --- a/gnulib-local/lib/xmalloc.c +++ b/gnulib-local/lib/xmalloc.c @@ -1,5 +1,5 @@ /* xmalloc.c -- malloc with out of memory checking - Copyright (C) 1990-1996, 2000-2003, 2005-2007 Free Software Foundation, Inc. + Copyright (C) 1990-2024 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -21,7 +21,7 @@ #include -#include "error.h" +#include #include "gettext.h" #define _(str) gettext (str) diff --git a/src/iconv.c b/src/iconv.c index 3b09b98..cb579da 100644 --- a/src/iconv.c +++ b/src/iconv.c @@ -71,7 +71,7 @@ error (int status, int errnum, const char *message, ...) exit(status); } #else -# include "error.h" +# include #endif #include "gettext.h" -- 2.11.4.GIT