From 06f610a5229655fcc3b51579c68bf8aaedcef217 Mon Sep 17 00:00:00 2001 From: Costa Shulyupin Date: Wed, 6 Jul 2022 12:38:31 +0300 Subject: [PATCH] remove obsolete unused logic.h to reduce number of files in overpopulated directory lib/common and make project a little bit more tidy --- ci/clang_format.py | 1 - lib/common/CMakeLists.txt | 1 - lib/common/Makefile.am | 2 +- lib/common/logic.h | 28 ---------------------------- lib/gvc.vcxproj | 1 - lib/gvc.vcxproj.filters | 3 --- 6 files changed, 1 insertion(+), 35 deletions(-) delete mode 100644 lib/common/logic.h diff --git a/ci/clang_format.py b/ci/clang_format.py index 8db4d64c9..512a2a596 100644 --- a/ci/clang_format.py +++ b/ci/clang_format.py @@ -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", diff --git a/lib/common/CMakeLists.txt b/lib/common/CMakeLists.txt index c9e15e95d..3a167d483 100644 --- a/lib/common/CMakeLists.txt +++ b/lib/common/CMakeLists.txt @@ -52,7 +52,6 @@ add_library(common_obj OBJECT intset.h htmllex.h htmltable.h - logic.h macros.h memory.h pointset.h diff --git a/lib/common/Makefile.am b/lib/common/Makefile.am index 6e64b397c..3d56bd9e9 100644 --- a/lib/common/Makefile.am +++ b/lib/common/Makefile.am @@ -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 index fdfd7c6d0..000000000 --- a/lib/common/logic.h +++ /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 - -#ifndef FALSE -#define FALSE (0) -#endif -#ifndef TRUE -#define TRUE (!FALSE) -#endif - -#ifdef __cplusplus -} -#endif diff --git a/lib/gvc.vcxproj b/lib/gvc.vcxproj index bd42ba62b..5a0c446fa 100644 --- a/lib/gvc.vcxproj +++ b/lib/gvc.vcxproj @@ -123,7 +123,6 @@ python common\make_colortbl.py common\brewer_lib common\svgcolor_lib common\colo - diff --git a/lib/gvc.vcxproj.filters b/lib/gvc.vcxproj.filters index 8662a6ac9..c054d5aee 100644 --- a/lib/gvc.vcxproj.filters +++ b/lib/gvc.vcxproj.filters @@ -51,9 +51,6 @@ Header Files - - Header Files - Header Files -- 2.40.0