From 6af64c431c0a521fc927fa72b9f4015397ce11d4 Mon Sep 17 00:00:00 2001 From: Jan Blunck Date: Fri, 23 Oct 2009 20:58:48 +0200 Subject: [PATCH] Remove localerr.h localerr.h is only including usterr.h so remove it and replace it. Signed-off-by: Jan Blunck --- Makefile.am | 5 ++--- libust/marker-control.c | 2 +- libust/marker.h | 2 +- libust/tracectl.c | 2 +- libustcomm/ustcomm.c | 2 +- share/localerr.h | 1 - ustd/lowlevel.c | 2 +- ustd/ustd.c | 2 +- 8 files changed, 8 insertions(+), 10 deletions(-) delete mode 100644 share/localerr.h diff --git a/Makefile.am b/Makefile.am index dd92eaf..46dc86c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,8 +1,7 @@ ACLOCAL_AMFLAGS = -I m4 SUBDIRS = libust tests libmallocwrap ustd ustctl libinterfork -EXTRA_DIST = doc share/kernelcompat.h share/localerr.h share/share.h \ - share/usterr.h +EXTRA_DIST = doc share/kernelcompat.h share/share.h share/usterr.h dist_bin_SCRIPTS = usttrace -include_HEADERS = share/kernelcompat.h share/localerr.h share/usterr.h +include_HEADERS = share/kernelcompat.h share/usterr.h diff --git a/libust/marker-control.c b/libust/marker-control.c index f064316..c874c94 100644 --- a/libust/marker-control.c +++ b/libust/marker-control.c @@ -36,7 +36,7 @@ #include "kernelcompat.h" //#include "list.h" #include "tracer.h" -#include "localerr.h" +#include "usterr.h" #define DEFAULT_CHANNEL "cpu" #define DEFAULT_PROBE "default" diff --git a/libust/marker.h b/libust/marker.h index 5fe50a9..ad813bc 100644 --- a/libust/marker.h +++ b/libust/marker.h @@ -30,7 +30,7 @@ //ust// #include #include "kernelcompat.h" #include -#include "localerr.h" +#include "usterr.h" //ust// struct module; //ust// struct task_struct; diff --git a/libust/tracectl.c b/libust/tracectl.c index d4cd594..8cb44f8 100644 --- a/libust/tracectl.c +++ b/libust/tracectl.c @@ -31,7 +31,7 @@ #include "marker.h" #include "tracer.h" -#include "localerr.h" +#include "usterr.h" #include "ustcomm.h" #include "relay.h" /* FIXME: remove */ #include "marker-control.h" diff --git a/libustcomm/ustcomm.c b/libustcomm/ustcomm.c index 1b6843b..2bd86eb 100644 --- a/libustcomm/ustcomm.c +++ b/libustcomm/ustcomm.c @@ -31,7 +31,7 @@ #include #include "ustcomm.h" -#include "localerr.h" +#include "usterr.h" #define UNIX_PATH_MAX 108 diff --git a/share/localerr.h b/share/localerr.h deleted file mode 100644 index eef0d4f..0000000 --- a/share/localerr.h +++ /dev/null @@ -1 +0,0 @@ -#include "usterr.h" diff --git a/ustd/lowlevel.c b/ustd/lowlevel.c index 3509bf5..6a91acc 100644 --- a/ustd/lowlevel.c +++ b/ustd/lowlevel.c @@ -19,7 +19,7 @@ #include "tracer.h" #include "ustd.h" -#include "localerr.h" +#include "usterr.h" /* This truncates to an offset in the buffer. */ #define USTD_BUFFER_TRUNC(offset, bufinfo) \ diff --git a/ustd/ustd.c b/ustd/ustd.c index 6d8680c..fef0eae 100644 --- a/ustd/ustd.c +++ b/ustd/ustd.c @@ -33,7 +33,7 @@ #include #include "ustd.h" -#include "localerr.h" +#include "usterr.h" #include "ustcomm.h" #include "share.h" -- 2.34.1