completely remove the "static inline" mgetty patches, the change was already
handled upstream in the 1.2.1 update.
This commit is contained in:
parent
4427d7cc84
commit
bc3ebc875e
@ -1,48 +0,0 @@
|
||||
$OpenBSD: patch-g3_g3cat_c,v 1.3 2020/01/08 22:22:39 kmos Exp $
|
||||
Index: g3/g3cat.c
|
||||
--- g3/g3cat.c.orig
|
||||
+++ g3/g3cat.c
|
||||
@@ -60,8 +60,9 @@ static int padding = 0; /* default: no padding done
|
||||
static int b_written = 0; /* bytes of a line already */
|
||||
/* written */
|
||||
|
||||
+static
|
||||
#ifdef __GNUC__
|
||||
-static inline
|
||||
+inline
|
||||
#endif
|
||||
void putcode _P2( (code, len), int code, int len )
|
||||
{
|
||||
@@ -83,8 +84,9 @@ void putcode _P2( (code, len), int code, int len )
|
||||
}
|
||||
}
|
||||
|
||||
+static
|
||||
#ifdef __GNUC__
|
||||
-static inline
|
||||
+inline
|
||||
#endif
|
||||
void putwhitespan _P1( (l), int l )
|
||||
{
|
||||
@@ -114,8 +116,9 @@ void putwhitespan _P1( (l), int l )
|
||||
putcode( t_white[l].bit_code, t_white[l].bit_length );
|
||||
}
|
||||
|
||||
+static
|
||||
#ifdef __GNUC__
|
||||
-static inline
|
||||
+inline
|
||||
#endif
|
||||
void putblackspan _P1( (l), int l )
|
||||
{
|
||||
@@ -145,8 +148,9 @@ void putblackspan _P1( (l), int l )
|
||||
putcode( t_black[l].bit_code, t_black[l].bit_length );
|
||||
}
|
||||
|
||||
+static
|
||||
#ifdef __GNUC__
|
||||
-static inline
|
||||
+inline
|
||||
#endif
|
||||
void puteol _P0( void ) /* write byte-aligned EOL */
|
||||
{
|
@ -1,48 +0,0 @@
|
||||
$OpenBSD: patch-g3_pbm2g3_c,v 1.3 2020/01/08 22:22:39 kmos Exp $
|
||||
Index: g3/pbm2g3.c
|
||||
--- g3/pbm2g3.c.orig
|
||||
+++ g3/pbm2g3.c
|
||||
@@ -39,8 +39,9 @@ static unsigned int out_hibit = 0;
|
||||
|
||||
static int out_byte_tab[ 256 ]; /* for g3 byte reversal */
|
||||
|
||||
+static
|
||||
#ifdef __GNUC__
|
||||
-static inline
|
||||
+inline
|
||||
#endif
|
||||
void putcode _P2( (code, len), int code, int len )
|
||||
{
|
||||
@@ -59,8 +60,9 @@ void putcode _P2( (code, len), int code, int len )
|
||||
}
|
||||
}
|
||||
|
||||
+static
|
||||
#ifdef __GNUC__
|
||||
-static inline
|
||||
+inline
|
||||
#endif
|
||||
void puteol _P0( void ) /* write byte-aligned EOL */
|
||||
{
|
||||
@@ -68,8 +70,9 @@ void puteol _P0( void ) /* write byte-aligned EOL */
|
||||
putcode( 0x800, 12 );
|
||||
}
|
||||
|
||||
+static
|
||||
#ifdef __GNUC__
|
||||
-static inline
|
||||
+inline
|
||||
#endif
|
||||
void putwhitespan _P1( (l), int l )
|
||||
{
|
||||
@@ -99,8 +102,9 @@ void putwhitespan _P1( (l), int l )
|
||||
putcode( t_white[l].bit_code, t_white[l].bit_length );
|
||||
}
|
||||
|
||||
+static
|
||||
#ifdef __GNUC__
|
||||
-static inline
|
||||
+inline
|
||||
#endif
|
||||
void putblackspan _P1( (l), int l )
|
||||
{
|
Loading…
x
Reference in New Issue
Block a user