From acdeee39ffdb171ac4ad208f3d1daa3bedafc2f0 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 1 Aug 2020 18:53:28 -0700 Subject: [PATCH] remove empty compat.h header This header was not doing anything useful. --- Makefile.am | 2 +- cmd/smyrna/gui/frmobjectui.c | 1 - cmd/smyrna/gui/gui.c | 1 - cmd/smyrna/viewport.c | 1 - compat.h | 12 ------------ lib/common/colxlate.c | 1 - lib/gvc/gvdevice.c | 1 - lib/gvpr/actions.c | 3 --- plugin/core/gvrender_core_dot.c | 1 - plugin/core/gvrender_core_fig.c | 1 - plugin/core/gvrender_core_hpgl.c | 1 - plugin/core/gvrender_core_json.c | 1 - plugin/core/gvrender_core_mp.c | 1 - plugin/core/gvrender_core_vtx.c | 1 - 14 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 compat.h diff --git a/Makefile.am b/Makefile.am index f373581fe..cbc91f13e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -40,7 +40,7 @@ $(top_builddir)/graphviz_version.h: config.h EXTRA_DIST = $(txt) $(html) graphviz.spec \ autogen.sh config/depcomp config/config.rpath \ - builddate.h compat.h \ + builddate.h \ Makeargs iffe config.iffe \ m4/README m4/iconv.m4 m4/lib-ld.m4 m4/lib-link.m4 m4/lib-prefix.m4 \ graphviz.7 Doxyfile.in Doxyfile awk \ diff --git a/cmd/smyrna/gui/frmobjectui.c b/cmd/smyrna/gui/frmobjectui.c index 4469dbaf1..005582b71 100644 --- a/cmd/smyrna/gui/frmobjectui.c +++ b/cmd/smyrna/gui/frmobjectui.c @@ -13,7 +13,6 @@ #include -#include "compat.h" #include #include "gui.h" /* #include "abstring.h" */ diff --git a/cmd/smyrna/gui/gui.c b/cmd/smyrna/gui/gui.c index 108744091..a16ee1274 100644 --- a/cmd/smyrna/gui/gui.c +++ b/cmd/smyrna/gui/gui.c @@ -12,7 +12,6 @@ *************************************************************************/ #include -#include "compat.h" #include #include "gui.h" /* #include "abstring.h" */ diff --git a/cmd/smyrna/viewport.c b/cmd/smyrna/viewport.c index 150eaa7f5..1850d5878 100644 --- a/cmd/smyrna/viewport.c +++ b/cmd/smyrna/viewport.c @@ -16,7 +16,6 @@ #else #include "unistd.h" #endif -#include "compat.h" #include "viewport.h" #include "draw.h" #include "color.h" diff --git a/compat.h b/compat.h deleted file mode 100644 index b156d3271..000000000 --- a/compat.h +++ /dev/null @@ -1,12 +0,0 @@ -#ifndef COMPAT_H -#define COMPAT_H -#include "config.h" -/* -#ifndef HAVE_STRCASECMP -extern int strcasecmp(const char*, const char*); -#endif -#ifndef HAVE_STRNCASECMP -extern int strncasecmp(const char*, const char*, unsigned int); -#endif -*/ -#endif diff --git a/lib/common/colxlate.c b/lib/common/colxlate.c index d17e0c5b0..a773677b4 100644 --- a/lib/common/colxlate.c +++ b/lib/common/colxlate.c @@ -18,7 +18,6 @@ #ifdef _WIN32 #include #include -#include "compat.h" #endif #include #include diff --git a/lib/gvc/gvdevice.c b/lib/gvc/gvdevice.c index 1375207d0..c290e5cc2 100644 --- a/lib/gvc/gvdevice.c +++ b/lib/gvc/gvdevice.c @@ -29,7 +29,6 @@ #ifdef _WIN32 #include #include -#include "compat.h" #endif #ifdef HAVE_LIBZ diff --git a/lib/gvpr/actions.c b/lib/gvpr/actions.c index 856feb877..d2b34e219 100644 --- a/lib/gvpr/actions.c +++ b/lib/gvpr/actions.c @@ -815,9 +815,6 @@ char *canon(Expr_t * pgm, char *arg) } #include -#ifdef _WIN32 -#include "compat.h" -#endif #include "arith.h" #include "color.h" diff --git a/plugin/core/gvrender_core_dot.c b/plugin/core/gvrender_core_dot.c index c125800c3..c9f4338b9 100644 --- a/plugin/core/gvrender_core_dot.c +++ b/plugin/core/gvrender_core_dot.c @@ -15,7 +15,6 @@ #ifdef _WIN32 #include -#include "compat.h" #endif #include diff --git a/plugin/core/gvrender_core_fig.c b/plugin/core/gvrender_core_fig.c index b01b7b524..f8080fb10 100644 --- a/plugin/core/gvrender_core_fig.c +++ b/plugin/core/gvrender_core_fig.c @@ -20,7 +20,6 @@ #ifdef _WIN32 #include -#include "compat.h" #endif #include "macros.h" diff --git a/plugin/core/gvrender_core_hpgl.c b/plugin/core/gvrender_core_hpgl.c index f0ce48f51..767e13e68 100644 --- a/plugin/core/gvrender_core_hpgl.c +++ b/plugin/core/gvrender_core_hpgl.c @@ -22,7 +22,6 @@ #ifdef _WIN32 #include -#include "compat.h" #endif #include "macros.h" diff --git a/plugin/core/gvrender_core_json.c b/plugin/core/gvrender_core_json.c index 858bbe6be..38eea62bb 100644 --- a/plugin/core/gvrender_core_json.c +++ b/plugin/core/gvrender_core_json.c @@ -15,7 +15,6 @@ #ifdef _WIN32 #include -#include "compat.h" #endif #include diff --git a/plugin/core/gvrender_core_mp.c b/plugin/core/gvrender_core_mp.c index a751a8080..a8f2d7405 100644 --- a/plugin/core/gvrender_core_mp.c +++ b/plugin/core/gvrender_core_mp.c @@ -22,7 +22,6 @@ #ifdef _WIN32 #include -#include "compat.h" #endif #include "macros.h" diff --git a/plugin/core/gvrender_core_vtx.c b/plugin/core/gvrender_core_vtx.c index 610630786..fe31dee0f 100644 --- a/plugin/core/gvrender_core_vtx.c +++ b/plugin/core/gvrender_core_vtx.c @@ -22,7 +22,6 @@ #ifdef _WIN32 #include -#include "compat.h" #endif #include "macros.h" -- 2.40.0