Author: Andreas Tille <tille@debian.org>
Last-Update: 2024-11-11
Bug-Debian: https://bugs.debian.org/1077947
Description: draw_window should have an int argument

--- a/gmemusage.c
+++ b/gmemusage.c
@@ -92,7 +92,7 @@ void place_text ( Window win , GC gc , X
 void place_graphics ( Window win , GC gc , unsigned int window_width ,
 		 unsigned int window_height ) ;
 #endif
-void draw_window ( void ) ;
+void draw_window ( int sig ) ;
 void TooSmall ( Window win , GC gc , XFontStruct *font_into ) ;
 
 void main ( int argc , char **argv )
@@ -297,7 +297,7 @@ void main ( int argc , char **argv )
 #endif
 	{
 	   Exposed = 1 ;
-	   draw_window () ;
+	   draw_window ( 0 ) ;
 	}
 	break ;
 
@@ -400,7 +400,7 @@ void main ( int argc , char **argv )
 /*
  * Do all the drawing.
  */
-void draw_window ( void )
+void draw_window ( int sig )
 {
    int
       pcWidth ,
