summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--decoder/cdec.cc3
-rwxr-xr-xdecoder/ff_register.h1
2 files changed, 2 insertions, 2 deletions
diff --git a/decoder/cdec.cc b/decoder/cdec.cc
index 97ec6798..5b930c69 100644
--- a/decoder/cdec.cc
+++ b/decoder/cdec.cc
@@ -2,11 +2,10 @@
#include "filelib.h"
#include "decoder.h"
+#include "ff_register.h"
using namespace std;
-void register_feature_functions();
-
int main(int argc, char** argv) {
register_feature_functions();
Decoder decoder(argc, argv);
diff --git a/decoder/ff_register.h b/decoder/ff_register.h
index 70e1c1c6..eff23537 100755
--- a/decoder/ff_register.h
+++ b/decoder/ff_register.h
@@ -46,5 +46,6 @@ inline void RegisterFsaDynToFF(bool prefix=true) {
RegisterFsaDynToFF<FsaImpl>(FsaImpl::usage(false,false),prefix);
}
+void register_feature_functions();
#endif