summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-09-19 19:53:11 +0000
committerredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-09-19 19:53:11 +0000
commita86de27dbab3dc803ac31ff46e1d3b2aaf40dc1a (patch)
tree88cf916cf37691fe56ae4910f50e2ab06ffc9bbc
parentad307cc72c80f9fc81affe8723682b685f60914f (diff)
ff register
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@650 ec762483-ff6d-05da-a07a-a48fb63a330f
-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