changeset 754:0295aa7865d9

More mods to make irix 5 lint happy.
author neelin <neelin>
date Thu, 09 Feb 1995 14:25:13 +0000
parents 76dd5561004e
children 7080f331bfe4
files progs/mincview/invert_raw_image.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/progs/mincview/invert_raw_image.c
+++ b/progs/mincview/invert_raw_image.c
@@ -51,14 +51,14 @@
    }
    if ((xsize == 0) || (ysize == 0)) {
       (void) fprintf(stderr,"%s : Illegal image size\n",pname);
-      (void) exit(ERROR_STATUS);
+      exit(ERROR_STATUS);
    }
    image_size = ABS(xsize*ysize);
    row_size = ABS(xsize);
    if (((buffer=malloc(image_size*bytes_per_pixel)) == NULL) ||
        ((outbuf=malloc(row_size*bytes_per_pixel)) == NULL)){
       (void) fprintf(stderr,"%s : Image too large\n",pname);
-      (void) exit(ERROR_STATUS);
+      exit(ERROR_STATUS);
    }
 
    /* Get range of loop */
@@ -90,7 +90,7 @@
    /* Check that input corresponds to complete images */
    if (nread>0) {
       (void) fprintf(stderr,"%s : Insufficient data\n",pname);
-      (void) exit(ERROR_STATUS);
+      exit(ERROR_STATUS);
    }
 
    return NORMAL_STATUS;