From: Erwin Janssen Date: Wed, 21 Sep 2016 18:47:42 +0000 (+0200) Subject: Remove unused code from cgraph: vmstub.h X-Git-Tag: untagged-5fc0363bc76319758ff6~1^2^2~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6b5f1f9b811f53731e081ece6103262b333cc3d8;p=graphviz Remove unused code from cgraph: vmstub.h The header file vmstub.h is never included or used. --- diff --git a/lib/cgraph/Makefile.am b/lib/cgraph/Makefile.am index 226a0f26b..fcd5656de 100644 --- a/lib/cgraph/Makefile.am +++ b/lib/cgraph/Makefile.am @@ -11,7 +11,7 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/lib/cdt pkginclude_HEADERS = cgraph.h -noinst_HEADERS = agxbuf.h cghdr.h malloc.h vmstub.h +noinst_HEADERS = agxbuf.h cghdr.h malloc.h noinst_LTLIBRARIES = libcgraph_C.la lib_LTLIBRARIES = libcgraph.la pkgconfig_DATA = libcgraph.pc diff --git a/lib/cgraph/cgraph.vcxproj b/lib/cgraph/cgraph.vcxproj index 2d7cfeb2b..0392d06a1 100644 --- a/lib/cgraph/cgraph.vcxproj +++ b/lib/cgraph/cgraph.vcxproj @@ -105,7 +105,6 @@ - diff --git a/lib/cgraph/cgraph.vcxproj.filters b/lib/cgraph/cgraph.vcxproj.filters index cf7281c53..5817cddb7 100644 --- a/lib/cgraph/cgraph.vcxproj.filters +++ b/lib/cgraph/cgraph.vcxproj.filters @@ -27,9 +27,6 @@ Header Files - - Header Files - diff --git a/lib/cgraph/vmstub.h b/lib/cgraph/vmstub.h deleted file mode 100644 index bb00806d7..000000000 --- a/lib/cgraph/vmstub.h +++ /dev/null @@ -1,30 +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/ - *************************************************************************/ - -#ifndef _VMSTUB_H -#define _VMSTUB_H -#include -#ifdef HAVE_MALLOC_H -#include -#endif -typedef void Vmalloc_t; -#define vmalloc(heap,size) malloc(size) -#define vmopen(x,y,z) (Vmalloc_t*)(0) -#define vmclose(x) while (0) -#define vmresize(heap,ptr,size,oktomoveflag) realloc((ptr),(size)) -#define vmfree(heap,ptr) free(ptr) -#ifndef EXTERN -#define EXTERN extern -#endif -EXTERN void *Vmregion; -#endif