Make auxiliary function static and remove them from the interface. local-trunk
authorkim <kim@3cdefd35-fc62-479d-8e8d-bae585ffb9ca>
Tue, 14 Feb 2012 09:26:39 +0000 (09:26 +0000)
committerkim <kim@3cdefd35-fc62-479d-8e8d-bae585ffb9ca>
Tue, 14 Feb 2012 09:26:39 +0000 (09:26 +0000)
git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/bp@1220 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

bp.c
bp.h

diff --git a/bp.c b/bp.c
index 9d108bb..d9e85a2 100644 (file)
--- a/bp.c
+++ b/bp.c
@@ -51,7 +51,7 @@ void bp_print(bp *b, int s, int t)
 }
 
 int *matchtbl,*parenttbl;
-void make_naivetbl(pb *B,int n)
+static void make_naivetbl(pb *B,int n)
 {
   int i,v;
   int *stack,s;
@@ -101,7 +101,7 @@ int childtbl2[2*ETW+1][ETW][(1<<ETW)];
 int depthtbl[(2*ETW+1)*(1<<ETW)];
 int inited = 0;
 
-void make_matchtbl(void)
+static void make_matchtbl(void)
 {
   int i,j,x,r;
   int m,M;
diff --git a/bp.h b/bp.h
index a728881..b982430 100644 (file)
--- a/bp.h
+++ b/bp.h
@@ -306,8 +306,6 @@ static inline int blog(int x)
 
 
 extern int *matchtbl,*parenttbl;
-void make_naivetbl(pb *B,int n);
-
 
 extern int fwdtbl[(2*ETW+1)*(1<<ETW)];
 extern int bwdtbl[(2*ETW+1)*(1<<ETW)];