summaryrefslogtreecommitdiff
path: root/src/libfsm/common.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libfsm/common.cc')
-rw-r--r--src/libfsm/common.cc37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/libfsm/common.cc b/src/libfsm/common.cc
index 97715b82..7a4df841 100644
--- a/src/libfsm/common.cc
+++ b/src/libfsm/common.cc
@@ -26,43 +26,6 @@
#include <assert.h>
#include "ragel.h"
-HostType *findAlphType( const HostLang *hostLang, const char *s1 )
-{
- for ( int i = 0; i < hostLang->numHostTypes; i++ ) {
- if ( strcmp( s1, hostLang->hostTypes[i].data1 ) == 0 &&
- hostLang->hostTypes[i].data2 == 0 )
- {
- return hostLang->hostTypes + i;
- }
- }
-
- return 0;
-}
-
-HostType *findAlphType( const HostLang *hostLang, const char *s1, const char *s2 )
-{
- for ( int i = 0; i < hostLang->numHostTypes; i++ ) {
- if ( strcmp( s1, hostLang->hostTypes[i].data1 ) == 0 &&
- hostLang->hostTypes[i].data2 != 0 &&
- strcmp( s2, hostLang->hostTypes[i].data2 ) == 0 )
- {
- return hostLang->hostTypes + i;
- }
- }
-
- return 0;
-}
-
-HostType *findAlphTypeInternal( const HostLang *hostLang, const char *s1 )
-{
- for ( int i = 0; i < hostLang->numHostTypes; i++ ) {
- if ( strcmp( s1, hostLang->hostTypes[i].internalName ) == 0 )
- return hostLang->hostTypes + i;
- }
-
- return 0;
-}
-
std::streamsize output_filter::countAndWrite( const char *s, std::streamsize n )
{
for ( int i = 0; i < n; i++ ) {