summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Westerhuis <victor@westerhu.is>2021-12-03 14:00:09 +0100
committerVictor Westerhuis <victor@westerhu.is>2021-12-04 01:08:22 +0100
commit29879d74ae4ec35e452d9fd34d8718378f19a821 (patch)
treebe4d30b72d109eb9dc66b7740b3ca97d1fea448a
parent044bd51df6b7a87d97e6d5e12c940c7ec8492880 (diff)
downloadcolm-29879d74ae4ec35e452d9fd34d8718378f19a821.tar.gz
Remove empty header src/rtvector.h
This header has been empty since 2010. It is not installed, so it does not change the installation.
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/Makefile.am2
-rw-r--r--src/codevect.c1
-rw-r--r--src/rtvector.h35
4 files changed, 2 insertions, 38 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 3d855523..651df849 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -56,7 +56,7 @@ add_library(libprog
buffer.h bytecode.h colm.h debug.h dotgen.h fsmcodegen.h fsmgraph.h
input.h keyops.h map.h compiler.h
parsetree.h pcheck.h pdacodegen.h pdagraph.h pdarun.h pool.h redbuild.h
- redfsm.h rtvector.h tree.h global.h colm.h parser.h cstring.h
+ redfsm.h tree.h global.h colm.h parser.h cstring.h
internal.h
resolve.cc lookup.cc synthesis.cc parsetree.cc
fsmstate.cc fsmbase.cc fsmattach.cc fsmmin.cc
diff --git a/src/Makefile.am b/src/Makefile.am
index d6c2a32f..d4678334 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -58,7 +58,7 @@ libprog_a_SOURCES = \
buffer.h bytecode.h colm.h debug.h dotgen.h fsmcodegen.h fsmgraph.h \
input.h keyops.h map.h compiler.h \
parsetree.h pcheck.h pdacodegen.h pdagraph.h pdarun.h pool.h redbuild.h \
- redfsm.h rtvector.h tree.h version.h global.h colm.h parser.h cstring.h \
+ redfsm.h tree.h version.h global.h colm.h parser.h cstring.h \
internal.h \
\
resolve.cc lookup.cc synthesis.cc parsetree.cc \
diff --git a/src/codevect.c b/src/codevect.c
index 50b86336..e206371b 100644
--- a/src/codevect.c
+++ b/src/codevect.c
@@ -23,7 +23,6 @@
#include <string.h>
#include <stdlib.h>
-#include <colm/rtvector.h>
#include <colm/pdarun.h>
void init_rt_code_vect( struct rt_code_vect *vect )
diff --git a/src/rtvector.h b/src/rtvector.h
deleted file mode 100644
index e15d3f2a..00000000
--- a/src/rtvector.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright 2002-2018 Adrian Thurston <thurston@colm.net>
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to
- * deal in the Software without restriction, including without limitation the
- * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
- * sell copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-
-#ifndef _COLM_RTVECTOR_H
-#define _COLM_RTVECTOR_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _COLM_RT_VECTOR_H */
-