fvwm1 (1.24r-55) modules/FvwmDebug/FvwmDebug.c

Summary

 modules/FvwmDebug/FvwmDebug.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

    
download this patch

Patch contents

--- fvwm1-1.24r.orig/modules/FvwmDebug/FvwmDebug.c
+++ fvwm1-1.24r/modules/FvwmDebug/FvwmDebug.c
@@ -36,7 +36,7 @@
  *	main - start of module
  *
  ***********************************************************************/
-void main(int argc, char **argv)
+int main(int argc, char **argv)
 {
   char *temp, *s;
 
@@ -75,6 +75,7 @@
   SendInfo(fd,"Send_WindowList",0);
 
   Loop(fd);
+  return 0;
 }
 
 /***********************************************************************