author | ecalot
<ecalot> 2005-12-16 16:52:42 UTC |
committer | ecalot
<ecalot> 2005-12-16 16:52:42 UTC |
parent | 67c43cc6200557cc5636b748928d3cea3f879aa3 |
PR/src/Makefile | +1 | -1 |
PR/src/lib/xml/translate.c | +2 | -1 |
diff --git a/PR/src/Makefile b/PR/src/Makefile index f8a062d..d01d24f 100644 --- a/PR/src/Makefile +++ b/PR/src/Makefile @@ -197,7 +197,7 @@ $(XMLFILE): xml/resources.xml $(INFO) Compiling XML search features... $(CC) $(OPTIONS) -c lib/xml/search.c -o $@ -.translate.o: lib/xml/translate.c include/common.h +.translate.o: lib/xml/translate.c include/translate.h $(INFO) Compiling array tranlation features... $(CC) $(OPTIONS) -c lib/xml/translate.c -o $@ diff --git a/PR/src/lib/xml/translate.c b/PR/src/lib/xml/translate.c index 450a18e..293d679 100644 --- a/PR/src/lib/xml/translate.c +++ b/PR/src/lib/xml/translate.c @@ -31,10 +31,11 @@ translate.c: Princed Resources : array translating resources DO NOT remove this copyright notice */ +#include "translate.h" #include <string.h> /* strcmp */ const char* _indexInt[]=TRANS_ARRAY_INDEX_INT; -const char* _indexExt[]=TRANS_ARRAY_INDEX_EXT}; +const char* _indexExt[]=TRANS_ARRAY_INDEX_EXT; const char* translate (const char* input, const char** s1, const char** s2,int sizeOfArray) { while (sizeOfArray--) {