With the allocation functions’ prototypes moved to the public header, there was
nothing significant remaining in this header.
add_library(vmalloc STATIC
# Header files
vmalloc.h
- vmhdr.h
# Source files
vmalloc.c
AM_CPPFLAGS = -I$(top_srcdir)/lib
-noinst_HEADERS = vmalloc.h vmhdr.h
+noinst_HEADERS = vmalloc.h
noinst_LTLIBRARIES = libvmalloc_C.la
libvmalloc_C_la_SOURCES = vmalloc.c vmclear.c vmclose.c \
#include <string.h>
// include vmalloc and some of its internals directly so we can call them
-#include <vmalloc/vmhdr.h>
#include <vmalloc/vmalloc.h>
#include <vmalloc/vmalloc.c>
#include <vmalloc/vmclear.c>
* Contributors: Details at https://graphviz.org
*************************************************************************/
-#include <vmalloc/vmhdr.h>
#include <vmalloc/vmalloc.h>
#include <stdbool.h>
#include <stdlib.h>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="vmalloc.h" />
- <ClInclude Include="vmhdr.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="vmalloc.c" />
<ClInclude Include="vmalloc.h">
<Filter>Header Files</Filter>
</ClInclude>
- <ClInclude Include="vmhdr.h">
- <Filter>Header Files</Filter>
- </ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="vmalloc.c">
* Contributors: Details at https://graphviz.org
*************************************************************************/
-#include <vmalloc/vmhdr.h>
#include <vmalloc/vmalloc.h>
#include <stdlib.h>
* Contributors: Details at https://graphviz.org
*************************************************************************/
-#include <vmalloc/vmhdr.h>
#include <vmalloc/vmalloc.h>
#include <stdlib.h>
+++ /dev/null
-/*************************************************************************
- * 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
-
-/* Common types, and macros for vmalloc functions.
-**
-** Written by Kiem-Phong Vo, kpv@research.att.com, 01/16/94.
-*/
-
-#include <stdlib.h>
-#include <vmalloc/vmalloc.h>
-
-#ifdef __cplusplus
-}
-#endif
* Contributors: Details at https://graphviz.org
*************************************************************************/
-#include <vmalloc/vmhdr.h>
#include <vmalloc/vmalloc.h>
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
-#include <vmalloc/vmhdr.h>
+#include <vmalloc/vmalloc.h>
+
/*
* return a copy of s using vmalloc
*/