]> granicus.if.org Git - graphviz/commitdiff
remove empty compat.h header
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 2 Aug 2020 01:53:28 +0000 (18:53 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 7 Aug 2020 14:00:28 +0000 (07:00 -0700)
This header was not doing anything useful.

14 files changed:
Makefile.am
cmd/smyrna/gui/frmobjectui.c
cmd/smyrna/gui/gui.c
cmd/smyrna/viewport.c
compat.h [deleted file]
lib/common/colxlate.c
lib/gvc/gvdevice.c
lib/gvpr/actions.c
plugin/core/gvrender_core_dot.c
plugin/core/gvrender_core_fig.c
plugin/core/gvrender_core_hpgl.c
plugin/core/gvrender_core_json.c
plugin/core/gvrender_core_mp.c
plugin/core/gvrender_core_vtx.c

index f373581fe66e4f5563c141567d776dbaf168654c..cbc91f13e0ebfbcf3033ed0034449660ddaaf643 100644 (file)
@@ -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 \
index 4469dbaf16214e02266fd05ae13acf1bd2916653..005582b71f7edf8b0484fa885be4386a0f63c67b 100644 (file)
@@ -13,7 +13,6 @@
 
 #include <stdio.h>
 
-#include "compat.h"
 #include <stdlib.h>
 #include "gui.h"
 /* #include "abstring.h" */
index 10874409103253021c6cf677c94779a48d52daed..a16ee1274272fc669bf3ee8f798dc29f78316fcc 100644 (file)
@@ -12,7 +12,6 @@
  *************************************************************************/
 
 #include <stdio.h>
-#include "compat.h"
 #include <stdlib.h>
 #include "gui.h"
 /* #include "abstring.h" */
index 150eaa7f59d5640182234fbd406b92976d4dacbb..1850d5878447b58167352e3d2e8bd4765b4806b6 100644 (file)
@@ -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 (file)
index b156d32..0000000
--- 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
index d17e0c5b04929252ecb8729b3e73afe4438d24a8..a773677b4b868b5aeb460ac18c6d32f2e01a5f56 100644 (file)
@@ -18,7 +18,6 @@
 #ifdef _WIN32
 #include <string.h>
 #include <ctype.h>
-#include "compat.h"
 #endif
 #include <string.h>
 #include <ctype.h>
index 1375207d08e60dc98d8d68b8ec87ea0f3f46308f..c290e5cc2d2fde1e375885b4af373633405f8fce 100644 (file)
@@ -29,7 +29,6 @@
 #ifdef _WIN32
 #include <fcntl.h>
 #include <io.h>
-#include "compat.h"
 #endif
 
 #ifdef HAVE_LIBZ
index 856feb877b3b51cb866bf39eeb65620d4564fcc1..d2b34e219b245e7a3ff223fd2147c7c82805f37b 100644 (file)
@@ -815,9 +815,6 @@ char *canon(Expr_t * pgm, char *arg)
 }
 
 #include <stdlib.h>
-#ifdef _WIN32
-#include "compat.h"
-#endif
 
 #include "arith.h"
 #include "color.h"
index c125800c3c9cecb330021774802ab439485d2e7e..c9f4338b9839164e4a49946ab1e2d16c4d981078 100644 (file)
@@ -15,7 +15,6 @@
 
 #ifdef _WIN32
 #include <io.h>
-#include "compat.h"
 #endif
 
 #include <stdarg.h>
index b01b7b524e54e9b60894045e3091acc5a1c70dce..f8080fb1095f3873e3520aba6e7309c5e1dc6267 100644 (file)
@@ -20,7 +20,6 @@
 
 #ifdef _WIN32
 #include <io.h>
-#include "compat.h"
 #endif
 
 #include "macros.h"
index f0ce48f51749807ecce5330baa78f05fd9870126..767e13e68c9fc7e7c4c04d2ad9b4798b9ff1e912 100644 (file)
@@ -22,7 +22,6 @@
 
 #ifdef _WIN32
 #include <io.h>
-#include "compat.h"
 #endif
 
 #include "macros.h"
index 858bbe6be1d7ed7c8b0807135fa6468517823267..38eea62bbc3772fe5940802eace2191f55db9da0 100644 (file)
@@ -15,7 +15,6 @@
 
 #ifdef _WIN32
 #include <io.h>
-#include "compat.h"
 #endif
 
 #include <stdarg.h>
index a751a8080ab5900b7ff4512ef2e828e2b70dc99d..a8f2d7405af370d90b22f439e55141ec570dc8d5 100644 (file)
@@ -22,7 +22,6 @@
 
 #ifdef _WIN32
 #include <io.h>
-#include "compat.h"
 #endif
 
 #include "macros.h"
index 610630786b8e2290addf0aca7fa1d87b5ade3ab8..fe31dee0f62ea7411b27d735008c853cd8345d18 100644 (file)
@@ -22,7 +22,6 @@
 
 #ifdef _WIN32
 #include <io.h>
-#include "compat.h"
 #endif
 
 #include "macros.h"