#! /bin/sh /usr/share/dpatch/dpatch-run
## by Hilko Bengen <bengen@debian.org>
## see #853548
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: make some functions static

@DPATCH@
index 8a4b708..4205d33 100644
--- a/g3/g3cat.c
+++ b/g3/g3cat.c
@@ -67,6 +67,7 @@ void putcode _P2( (code, len), int code, int len )
 }
 
 #ifdef __GNUC__
+static
 inline
 #endif
 void putwhitespan _P1( (l), int l )
@@ -98,6 +99,7 @@ void putwhitespan _P1( (l), int l )
 }
 
 #ifdef __GNUC__
+static
 inline
 #endif
 void putblackspan _P1( (l), int l )
@@ -129,6 +131,7 @@ void putblackspan _P1( (l), int l )
 }
 
 #ifdef __GNUC__
+static
 inline
 #endif
 void puteol _P0( void )			/* write byte-aligned EOL */
diff --git a/g3/pbm2g3.c b/g3/pbm2g3.c
index 283a728..1641782 100644
--- a/g3/pbm2g3.c
+++ b/g3/pbm2g3.c
@@ -40,6 +40,7 @@ static unsigned int out_hibit = 0;
 static int out_byte_tab[ 256 ];			/* for g3 byte reversal */
 
 #ifdef __GNUC__
+static
 inline
 #endif
 void putcode _P2( (code, len), int code, int len )
@@ -60,6 +61,7 @@ void putcode _P2( (code, len), int code, int len )
 }
 
 #ifdef __GNUC__
+static
 inline
 #endif
 void puteol _P0( void )			/* write byte-aligned EOL */
@@ -69,6 +71,7 @@ void puteol _P0( void )			/* write byte-aligned EOL */
 }
 
 #ifdef __GNUC__
+static
 inline
 #endif
 void putwhitespan _P1( (l), int l )
@@ -99,9 +102,10 @@ void putwhitespan _P1( (l), int l )
     putcode( t_white[l].bit_code, t_white[l].bit_length );
 }
 
 #ifdef __GNUC__
+static
 inline
 #endif
 void putblackspan _P1( (l), int l )
 {
     if ( l >= 64 )
-- 
2.14.1


--=-=-=--
