From: Matthew Fernandez Date: Sat, 20 Jun 2020 01:58:21 +0000 (-0700) Subject: remove unused align.h X-Git-Tag: 2.44.1~5^2^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cf95aa6f4dfdc5348a2769f989fc9535b2e6a7e8;p=graphviz remove unused align.h --- diff --git a/lib/ast/Makefile.am b/lib/ast/Makefile.am index 695aacc7f..881773873 100644 --- a/lib/ast/Makefile.am +++ b/lib/ast/Makefile.am @@ -3,7 +3,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/lib/sfio -noinst_HEADERS = align.h ast.h error.h hashkey.h +noinst_HEADERS = ast.h error.h hashkey.h noinst_LTLIBRARIES = libast_C.la libast_C_la_SOURCES = pathpath.c sfstr.h chresc.c chrtoi.c error.c \ diff --git a/lib/ast/align.h b/lib/ast/align.h deleted file mode 100644 index 22fe50cfb..000000000 --- a/lib/ast/align.h +++ /dev/null @@ -1,53 +0,0 @@ -/* $Id$ $Revision$ */ -/* vim:set shiftwidth=4 ts=8: */ - -/************************************************************************* - * 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: See CVS logs. Details at http://www.graphviz.org/ - *************************************************************************/ - -#ifdef __cplusplus -extern "C" { -#endif - -/* : : generated from features/align.c by iffe version 1999-08-11 : : */ -#ifndef _def_align_ast -#define _def_align_ast 1 - typedef unsigned long ALIGN_INTEGRAL; - -#define ALIGN_CHUNK 8192 -#define ALIGN_INTEGRAL long -#define ALIGN_INTEGER(x) ((ALIGN_INTEGRAL)(x)) -#define ALIGN_POINTER(x) ((char*)(x)) -#define ALIGN_ROUND(x,y) ALIGN_POINTER(ALIGN_INTEGER((x)+(y)-1)&~((y)-1)) - -#define ALIGN_BOUND ALIGN_BOUND2 -#define ALIGN_ALIGN(x) ALIGN_ALIGN2(x) -#define ALIGN_TRUNC(x) ALIGN_TRUNC2(x) - -#define ALIGN_BIT1 0x1 -#define ALIGN_BOUND1 ALIGN_BOUND2 -#define ALIGN_ALIGN1(x) ALIGN_ALIGN2(x) -#define ALIGN_TRUNC1(x) ALIGN_TRUNC2(x) -#define ALIGN_CLRBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)&0xfffffffe) -#define ALIGN_SETBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)|0x1) -#define ALIGN_TSTBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)&0x1) - -#define ALIGN_BIT2 0x2 -#define ALIGN_BOUND2 8 -#define ALIGN_ALIGN2(x) ALIGN_TRUNC2((x)+7) -#define ALIGN_TRUNC2(x) ALIGN_POINTER(ALIGN_INTEGER(x)&0xfffffff8) -#define ALIGN_CLRBIT2(x) ALIGN_POINTER(ALIGN_INTEGER(x)&0xfffffffd) -#define ALIGN_SETBIT2(x) ALIGN_POINTER(ALIGN_INTEGER(x)|0x2) -#define ALIGN_TSTBIT2(x) ALIGN_POINTER(ALIGN_INTEGER(x)&0x2) - -#endif - -#ifdef __cplusplus -} -#endif diff --git a/lib/ast/ast.vcxproj b/lib/ast/ast.vcxproj index 1a8706df9..929883f6c 100644 --- a/lib/ast/ast.vcxproj +++ b/lib/ast/ast.vcxproj @@ -76,7 +76,6 @@ - diff --git a/lib/ast/ast.vcxproj.filters b/lib/ast/ast.vcxproj.filters index 2a5f8922f..66ce6bf5a 100644 --- a/lib/ast/ast.vcxproj.filters +++ b/lib/ast/ast.vcxproj.filters @@ -15,9 +15,6 @@ - - Header Files - Header Files