--- a/efax/efaxos.h +++ b/efax/efaxos.h @@ -11,10 +11,6 @@ #define UNIXSIGS SIGHUP, SIGQUIT, SIGIOT, SIGALRM #define CATCHSIGS ANSISIGS, UNIXSIGS -/* Bit order reversal table. */ - -extern unsigned char normalbits [ ] ; - typedef enum ttymodes /* serial port modes: */ { COMMAND, /* 19200 8N1, no f/c, DTR high */ --- a/efax/efaxlib.h +++ b/efax/efaxlib.h @@ -208,7 +208,7 @@ /* Bit reversal lookup tables (note that the `normalbits' array is the one actually used for the bit reversal. */ -uchar reversebits [ 256 ], normalbits [ 256 ] ; +extern uchar reversebits [ 256 ], normalbits [ 256 ] ; void initbittab(void) ; --- a/efax/efaxlib.c +++ b/efax/efaxlib.c @@ -48,6 +48,8 @@ return n < 0 ; } +uchar reversebits [ 256 ], normalbits [ 256 ] ; + /* Provide dummy gettext() function if there is no internationalisation support */ #ifndef ENABLE_NLS