OSDN Git Service

Add 'extern' declarations to functions in bigm.h.
authorMasaoFujii <masao.fujii@gmail.com>
Tue, 1 Oct 2013 17:29:46 +0000 (02:29 +0900)
committerMasaoFujii <masao.fujii@gmail.com>
Tue, 1 Oct 2013 17:29:46 +0000 (02:29 +0900)
bigm.h

diff --git a/bigm.h b/bigm.h
index 4033c51..b6fbcb4 100644 (file)
--- a/bigm.h
+++ b/bigm.h
@@ -63,7 +63,7 @@ typedef struct
 #define GETARR(x)              ( (bigm *)( (char*)x + VARHDRSZ ) )
 #define ARRNELEM(x) ( ( VARSIZE(x) - VARHDRSZ )/sizeof(bigm) )
 
-BIGM      *generate_bigm(char *str, int slen);
-BIGM      *generate_wildcard_bigm(const char *str, int slen, bool *removeDups);
+extern BIGM       *generate_bigm(char *str, int slen);
+extern BIGM       *generate_wildcard_bigm(const char *str, int slen, bool *removeDups);
 
 #endif   /* __BIGM_H__ */