You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-misc/efax/files/efax-0.9a-fno-common.patch

33 lines
762 B

--- a/efaxos.h
+++ b/efaxos.h
@@ -13,7 +13,6 @@
/* Bit order reversal table. */
-extern unsigned char normalbits [ ] ;
typedef enum ttymodes /* serial port modes: */
{
--- a/efaxlib.h
+++ b/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/efaxlib.c
+++ b/efaxlib.c
@@ -25,6 +25,8 @@
short short256 = 256 ; /* for endian-ness detection */
+uchar reversebits [ 256 ], normalbits [ 256 ] ;
+
/* Make sure printf strings have only %d escapes and n or fewer
of them. Returns 0 if OK, 1 on error. */