summaryrefslogtreecommitdiff
path: root/package/mgetty/patches/patch-g3_pbm2g3_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-06-10 22:38:14 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-06-10 22:38:24 +0200
commit8cc11b215d06f36f4523de291c812a262deb1ffb (patch)
tree48e15a83d94357f51919bedb3915a025de26796f /package/mgetty/patches/patch-g3_pbm2g3_c
parent5a84ff982cb1ed52905ada0c55661d16548bdd6b (diff)
mgetty: fix compile
Diffstat (limited to 'package/mgetty/patches/patch-g3_pbm2g3_c')
-rw-r--r--package/mgetty/patches/patch-g3_pbm2g3_c38
1 files changed, 38 insertions, 0 deletions
diff --git a/package/mgetty/patches/patch-g3_pbm2g3_c b/package/mgetty/patches/patch-g3_pbm2g3_c
new file mode 100644
index 000000000..f56292e84
--- /dev/null
+++ b/package/mgetty/patches/patch-g3_pbm2g3_c
@@ -0,0 +1,38 @@
+--- mgetty-1.1.36.orig/g3/pbm2g3.c 1998-05-07 13:32:04.000000000 +0200
++++ mgetty-1.1.36/g3/pbm2g3.c 2017-06-03 23:32:07.020481555 +0200
+@@ -40,7 +40,7 @@ static unsigned int out_hibit = 0;
+ static int out_byte_tab[ 256 ]; /* for g3 byte reversal */
+
+ #ifdef __GNUC__
+-inline
++static inline
+ #endif
+ void putcode _P2( (code, len), int code, int len )
+ {
+@@ -60,7 +60,7 @@ void putcode _P2( (code, len), int code,
+ }
+
+ #ifdef __GNUC__
+-inline
++static inline
+ #endif
+ void puteol _P0( void ) /* write byte-aligned EOL */
+ {
+@@ -69,7 +69,7 @@ void puteol _P0( void ) /* write byte-
+ }
+
+ #ifdef __GNUC__
+-inline
++static inline
+ #endif
+ void putwhitespan _P1( (l), int l )
+ {
+@@ -100,7 +100,7 @@ void putwhitespan _P1( (l), int l )
+ }
+
+ #ifdef __GNUC__
+-inline
++static inline
+ #endif
+ void putblackspan _P1( (l), int l )
+ {