From b1090fa930fb1a75f1292ad247acc509341716a0 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 6 Sep 2006 12:10:56 +0000 Subject: [PATCH] Remove unnecessary includes from xerror.h. --- gnulib-local/ChangeLog | 5 +++++ gnulib-local/lib/xerror.c | 1 + gnulib-local/lib/xerror.h | 3 --- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gnulib-local/ChangeLog b/gnulib-local/ChangeLog index 7402afe14..675a5a9d0 100644 --- a/gnulib-local/ChangeLog +++ b/gnulib-local/ChangeLog @@ -1,3 +1,8 @@ +2006-08-30 Bruno Haible + + * lib/xerror.h: Don't include error.h. + * lib/xerror.c: Include error.h here. + 2006-08-28 Bruno Haible * modules/c-strstr: Remove file, now in gnulib. diff --git a/gnulib-local/lib/xerror.c b/gnulib-local/lib/xerror.c index c8b327211..b1bb66d3f 100644 --- a/gnulib-local/lib/xerror.c +++ b/gnulib-local/lib/xerror.c @@ -28,6 +28,7 @@ #include #include +#include "error.h" #include "progname.h" #include "error-progname.h" #include "mbswidth.h" diff --git a/gnulib-local/lib/xerror.h b/gnulib-local/lib/xerror.h index 4e539d892..b2382451b 100644 --- a/gnulib-local/lib/xerror.h +++ b/gnulib-local/lib/xerror.h @@ -19,9 +19,6 @@ #ifndef _XERROR_H #define _XERROR_H -/* Get fallback definition of __attribute__. */ -#include "error.h" - #ifdef __cplusplus extern "C" { -- 2.47.3