]> granicus.if.org Git - graphviz/commitdiff
remove obsolete unused logic.h
authorCosta Shulyupin <constantine.shulyupin@gmail.com>
Wed, 6 Jul 2022 09:38:31 +0000 (12:38 +0300)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 8 Jul 2022 02:17:22 +0000 (19:17 -0700)
to reduce number of files in overpopulated directory lib/common
and make project a little bit more tidy

ci/clang_format.py
lib/common/CMakeLists.txt
lib/common/Makefile.am
lib/common/logic.h [deleted file]
lib/gvc.vcxproj
lib/gvc.vcxproj.filters

index 8db4d64c9b39a85ec5f7f18720b689d7dba4b6b8..512a2a59642cc2c5c52afb2e1aadc5d8fb68b1f2 100644 (file)
@@ -328,7 +328,6 @@ EXCLUDE = (
   "lib/common/intset.c",
   "lib/common/intset.h",
   "lib/common/labels.c",
-  "lib/common/logic.h",
   "lib/common/macros.h",
   "lib/common/memory.c",
   "lib/common/memory.h",
index c9e15e95d6267da9fe36466824775b6b2f3715ce..3a167d483a916d47888d0b2afb0aac13bd799097 100644 (file)
@@ -52,7 +52,6 @@ add_library(common_obj OBJECT
   intset.h
   htmllex.h
   htmltable.h
-  logic.h
   macros.h
   memory.h
   pointset.h
index 6e64b397cdbc28ffe60b2af313688dc64416f8ff..3d56bd9e91745660abdd07bea52cb5ac87011340 100644 (file)
@@ -21,7 +21,7 @@ BUILT_SOURCES = colortbl.h htmlparse.h
 pkginclude_HEADERS = arith.h geom.h color.h types.h textspan.h usershape.h
 noinst_HEADERS = render.h utils.h memory.h \
        geomprocs.h colorprocs.h colortbl.h entities.h globals.h \
-       logic.h const.h macros.h htmllex.h htmltable.h pointset.h intset.h \
+       const.h macros.h htmllex.h htmltable.h pointset.h intset.h \
        textspan_lut.h ps_font_equiv.h
 noinst_LTLIBRARIES = libcommon_C.la
 
diff --git a/lib/common/logic.h b/lib/common/logic.h
deleted file mode 100644 (file)
index fdfd7c6..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/*************************************************************************
- * Copyright (c) 2011 AT&T Intellectual Property 
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors: Details at https://graphviz.org
- *************************************************************************/
-
-#pragma once
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include <stdbool.h>
-
-#ifndef FALSE
-#define        FALSE (0)
-#endif
-#ifndef TRUE
-#define TRUE (!FALSE)
-#endif
-
-#ifdef __cplusplus
-}
-#endif
index bd42ba62bed9aea6399fee5ef665289640a199be..5a0c446fa7e801dece41fc49f1d91bdcafec92ec 100644 (file)
@@ -123,7 +123,6 @@ python common\make_colortbl.py common\brewer_lib common\svgcolor_lib common\colo
     <ClInclude Include="common\htmllex.h" />
     <ClInclude Include="common\htmlparse.h" />
     <ClInclude Include="common\htmltable.h" />
-    <ClInclude Include="common\logic.h" />
     <ClInclude Include="common\macros.h" />
     <ClInclude Include="common\memory.h" />
     <ClInclude Include="common\pointset.h" />
index 8662a6ac9af84acc8b7894fb8ba2b9125b8a0434..c054d5aee5bb1b612491b6a8cca3c81f366b9b9c 100644 (file)
@@ -51,9 +51,6 @@
     <ClInclude Include="common\htmltable.h">
       <Filter>Header Files</Filter>
     </ClInclude>
-    <ClInclude Include="common\logic.h">
-      <Filter>Header Files</Filter>
-    </ClInclude>
     <ClInclude Include="common\macros.h">
       <Filter>Header Files</Filter>
     </ClInclude>