File magicpoint-1.13a-nonvoid.diff of Package mgp

---
 contrib/xwintoppm/dsimple.c   |    1 +
 contrib/xwintoppm/xwintoppm.c |    3 +++
 2 files changed, 4 insertions(+)

--- a/contrib/xwintoppm/dsimple.c
+++ b/contrib/xwintoppm/dsimple.c
@@ -503,6 +503,7 @@ outl(msg, arg0,arg1,arg2,arg3,arg4,arg5,
 	fprintf(stderr, msg, arg0, arg1, arg2, arg3, arg4, arg5, arg6);
 	fprintf(stderr, "\n");
 	fflush(stderr);
+	return 0;
 }
 
 
--- a/contrib/xwintoppm/xwintoppm.c
+++ b/contrib/xwintoppm/xwintoppm.c
@@ -604,6 +604,7 @@ Window_Dump(window, out)
      * Free image
      */
     XDestroyImage(image);
+    return 0;
 }
 
 /*
@@ -729,6 +730,7 @@ _swapshort (bp, n)
 	bp++;
 	*bp++ = c;
     }
+    return 0;
 }
 
 _swaplong (bp, n)
@@ -750,4 +752,5 @@ _swaplong (bp, n)
 	*bp++ = c;
 	bp += 2;
     }
+    return 0;
 }
openSUSE Build Service is sponsored by