cutil: Remove unused freelist.c and freelist.h

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2017-05-01 17:48:50 +02:00
parent e219ad195c
commit 030d29a4d0
3 changed files with 2 additions and 53 deletions

View File

@ -7,7 +7,7 @@ endif
noinst_HEADERS = \ noinst_HEADERS = \
bitvec.h callcpp.h const.h cutil.h cutil_class.h danerror.h efio.h \ bitvec.h callcpp.h const.h cutil.h cutil_class.h danerror.h efio.h \
emalloc.h freelist.h globals.h \ emalloc.h globals.h \
oldlist.h structures.h oldlist.h structures.h
if !USING_MULTIPLELIBS if !USING_MULTIPLELIBS
@ -22,7 +22,5 @@ endif
libtesseract_cutil_la_SOURCES = \ libtesseract_cutil_la_SOURCES = \
bitvec.cpp callcpp.cpp cutil.cpp cutil_class.cpp danerror.cpp efio.cpp \ bitvec.cpp callcpp.cpp cutil.cpp cutil_class.cpp danerror.cpp efio.cpp \
emalloc.cpp freelist.cpp \ emalloc.cpp \
oldlist.cpp structures.cpp oldlist.cpp structures.cpp

View File

@ -1,18 +0,0 @@
/**************************************************************************
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
** http://www.apache.org/licenses/LICENSE-2.0
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
**************************************************************************/
#include "freelist.h"
#include <stdlib.h>
void memfree(void *element) {
free(element);
}

View File

@ -1,31 +0,0 @@
/* -*-C-*-
********************************************************************************
*
* File: freelist.h (Formerly freelist.h)
* Description: Memory allocator
* Author: Mark Seaman, OCR Technology
* Created: Wed May 30 13:50:28 1990
* Modified: Mon Dec 10 15:15:25 1990 (Mark Seaman) marks@hpgrlt
* Language: C
* Package: N/A
* Status: Experimental (Do Not Distribute)
*
* (c) Copyright 1990, Hewlett-Packard Company.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
** http://www.apache.org/licenses/LICENSE-2.0
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*
*********************************************************************************/
#ifndef FREELIST_H
#define FREELIST_H
void memfree(void *element);
#endif