Mercurial > hg > minc-tools
changeset 746:da5445d96596
Moved ARGSUSED statements for irix 5 lint.
author | neelin <neelin> |
---|---|
date | Wed, 08 Feb 1995 19:31:47 +0000 |
parents | 892e2631c688 |
children | 011f66c78cfd |
files | conversion/gcomserver/gyro_read.c conversion/gcomserver/gyro_to_minc.c conversion/gcomserver/open_connection.c conversion/scxtominc/scxtominc.c progs/Proglib/nd_loop.c progs/mincextract/mincextract.c progs/mincinfo/mincinfo.c progs/minclookup/minclookup.c progs/mincresample/mincresample.c progs/mincreshape/mincreshape.c progs/mincwindow/mincwindow.c progs/rawtominc/rawtominc.c |
diffstat | 12 files changed, 109 insertions(+), 55 deletions(-) [+] |
line wrap: on
line diff
--- a/conversion/gcomserver/gyro_read.c +++ b/conversion/gcomserver/gyro_read.c @@ -6,9 +6,12 @@ @CALLS : @CREATED : November 25, 1993 (Peter Neelin) @MODIFIED : $Log: gyro_read.c,v $ -@MODIFIED : Revision 2.4 1994-12-12 09:05:57 neelin -@MODIFIED : Changed comment in calculate_slice_start (code is the same) +@MODIFIED : Revision 2.5 1995-02-08 19:31:47 neelin +@MODIFIED : Moved ARGSUSED statements for irix 5 lint. @MODIFIED : + * Revision 2.4 1994/12/12 09:05:57 neelin + * Changed comment in calculate_slice_start (code is the same) + * * Revision 2.3 94/12/07 08:20:22 neelin * Fixed some lint messages. * @@ -1016,7 +1019,8 @@ double step[WORLD_NDIMS], double dircos[WORLD_NDIMS][WORLD_NDIMS], double start[WORLD_NDIMS]) -{ /* ARGSUSED */ + /* ARGSUSED */ +{ World_Index iworld; double offset[WORLD_NDIMS];
--- a/conversion/gcomserver/gyro_to_minc.c +++ b/conversion/gcomserver/gyro_to_minc.c @@ -7,11 +7,14 @@ @CALLS : @CREATED : November 25, 1993 (Peter Neelin) @MODIFIED : $Log: gyro_to_minc.c,v $ -@MODIFIED : Revision 2.1 1994-10-20 13:50:12 neelin -@MODIFIED : Write out direction cosines to support rotated volumes. -@MODIFIED : Store single slices as 1-slice volumes (3D instead of 2D). -@MODIFIED : Changed storing of minc history (get args for gyrotominc). +@MODIFIED : Revision 2.2 1995-02-08 19:31:47 neelin +@MODIFIED : Moved ARGSUSED statements for irix 5 lint. @MODIFIED : + * Revision 2.1 1994/10/20 13:50:12 neelin + * Write out direction cosines to support rotated volumes. + * Store single slices as 1-slice volumes (3D instead of 2D). + * Changed storing of minc history (get args for gyrotominc). + * * Revision 2.0 94/09/28 10:35:28 neelin * Release of minc version 0.2 * @@ -194,7 +197,8 @@ ---------------------------------------------------------------------------- */ public void free_info(General_Info *general_info, File_Info *file_info, int num_files) -{ /* ARGSUSED */ + /* ARGSUSED */ +{ Mri_Index imri; /* Free the general info pointers */
--- a/conversion/gcomserver/open_connection.c +++ b/conversion/gcomserver/open_connection.c @@ -4,9 +4,12 @@ @GLOBALS : @CREATED : November 22, 1993 (Peter Neelin) @MODIFIED : $Log: open_connection.c,v $ -@MODIFIED : Revision 2.2 1994-12-07 09:45:59 neelin -@MODIFIED : Fixed called to ioctl to get rid of type mismatch warning messages. +@MODIFIED : Revision 2.3 1995-02-08 19:31:47 neelin +@MODIFIED : Moved ARGSUSED statements for irix 5 lint. @MODIFIED : + * Revision 2.2 1994/12/07 09:45:59 neelin + * Fixed called to ioctl to get rid of type mismatch warning messages. + * * Revision 2.1 94/12/07 08:20:10 neelin * Added support for irix 5 decnet. * @@ -139,7 +142,8 @@ ---------------------------------------------------------------------------- */ public int open_connection(int argc, char *argv[], Acr_File **afpin, Acr_File **afpout) -{ /* ARGSUSED */ + /* ARGSUSED */ +{ SessionData sd; Io_data *io_data; int link;
--- a/conversion/scxtominc/scxtominc.c +++ b/conversion/scxtominc/scxtominc.c @@ -9,9 +9,12 @@ @CALLS : @CREATED : January 11, 1993 (Peter Neelin) @MODIFIED : $Log: scxtominc.c,v $ -@MODIFIED : Revision 2.3 1995-01-23 09:21:13 neelin -@MODIFIED : Changed ncclose to miclose +@MODIFIED : Revision 2.4 1995-02-08 19:31:47 neelin +@MODIFIED : Moved ARGSUSED statements for irix 5 lint. @MODIFIED : + * Revision 2.3 1995/01/23 09:21:13 neelin + * Changed ncclose to miclose + * * Revision 2.2 95/01/23 08:57:37 neelin * Changed nccreate to micreate. * @@ -50,7 +53,7 @@ ---------------------------------------------------------------------------- */ #ifndef lint -static char rcsid[]="$Header: /private-cvsroot/minc/conversion/scxtominc/scxtominc.c,v 2.3 1995-01-23 09:21:13 neelin Exp $"; +static char rcsid[]="$Header: /private-cvsroot/minc/conversion/scxtominc/scxtominc.c,v 2.4 1995-02-08 19:31:47 neelin Exp $"; #endif #include <stdlib.h> @@ -1140,7 +1143,8 @@ long *pixel_max, float *image_max, short *image, scx_file_info_type *scx_file_info, scx_general_info_type *scx_general_info) -{ /* ARGSUSED */ + /* ARGSUSED */ +{ long npix, ix, iy, y_offset, off1, off2; short temp;
--- a/progs/Proglib/nd_loop.c +++ b/progs/Proglib/nd_loop.c @@ -5,9 +5,12 @@ @GLOBALS : @CREATED : March 10, 1994 (Peter Neelin) @MODIFIED : $Log: nd_loop.c,v $ -@MODIFIED : Revision 1.2 1994-12-02 09:19:59 neelin -@MODIFIED : Added comments to clarify use of routines. +@MODIFIED : Revision 1.3 1995-02-08 19:31:47 neelin +@MODIFIED : Moved ARGSUSED statements for irix 5 lint. @MODIFIED : + * Revision 1.2 1994/12/02 09:19:59 neelin + * Added comments to clarify use of routines. + * * Revision 1.1 94/12/02 08:40:12 neelin * Initial revision * @@ -24,7 +27,7 @@ ---------------------------------------------------------------------------- */ #ifndef lint -static char rcsid[]="$Header: /private-cvsroot/minc/progs/Proglib/Attic/nd_loop.c,v 1.2 1994-12-02 09:19:59 neelin Exp $"; +static char rcsid[]="$Header: /private-cvsroot/minc/progs/Proglib/Attic/nd_loop.c,v 1.3 1995-02-08 19:31:47 neelin Exp $"; #endif #include <stdlib.h> @@ -71,7 +74,8 @@ @MODIFIED : ---------------------------------------------------------------------------- */ public int nd_end_of_loop(long current[], long end[], int ndims) -{ /* ARGSUSED */ + /* ARGSUSED */ +{ return (current[0] >= end[0]); }
--- a/progs/mincextract/mincextract.c +++ b/progs/mincextract/mincextract.c @@ -9,9 +9,12 @@ @CALLS : @CREATED : June 10, 1993 (Peter Neelin) @MODIFIED : $Log: mincextract.c,v $ -@MODIFIED : Revision 2.1 1995-01-23 12:32:52 neelin -@MODIFIED : Changed ncopen, ncclose to miopen, miclose. +@MODIFIED : Revision 2.2 1995-02-08 19:31:47 neelin +@MODIFIED : Moved ARGSUSED statements for irix 5 lint. @MODIFIED : + * Revision 2.1 1995/01/23 12:32:52 neelin + * Changed ncopen, ncclose to miopen, miclose. + * * Revision 2.0 94/09/28 10:34:16 neelin * Release of minc version 0.2 * @@ -49,7 +52,7 @@ ---------------------------------------------------------------------------- */ #ifndef lint -static char rcsid[]="$Header: /private-cvsroot/minc/progs/mincextract/mincextract.c,v 2.1 1995-01-23 12:32:52 neelin Exp $"; +static char rcsid[]="$Header: /private-cvsroot/minc/progs/mincextract/mincextract.c,v 2.2 1995-02-08 19:31:47 neelin Exp $"; #endif #include <stdlib.h> @@ -438,7 +441,8 @@ @MODIFIED : ---------------------------------------------------------------------------- */ public int get_arg_vector(char *dst, char *key, char *nextArg) -{ /* ARGSUSED */ + /* ARGSUSED */ +{ long *vector; int nvals, i;
--- a/progs/mincinfo/mincinfo.c +++ b/progs/mincinfo/mincinfo.c @@ -9,9 +9,12 @@ @CALLS : @CREATED : May 19, 1993 (Peter Neelin) @MODIFIED : $Log: mincinfo.c,v $ -@MODIFIED : Revision 2.2 1995-02-01 15:29:31 neelin -@MODIFIED : Fixed call of miexpand_file. +@MODIFIED : Revision 2.3 1995-02-08 19:31:47 neelin +@MODIFIED : Moved ARGSUSED statements for irix 5 lint. @MODIFIED : + * Revision 2.2 1995/02/01 15:29:31 neelin + * Fixed call of miexpand_file. + * * Revision 2.1 95/01/23 13:47:46 neelin * Changed ncopen, ncclose to miopen, miclose. Added miexpand_file to get * header only when appropriate. @@ -41,7 +44,7 @@ ---------------------------------------------------------------------------- */ #ifndef lint -static char rcsid[]="$Header: /private-cvsroot/minc/progs/mincinfo/mincinfo.c,v 2.2 1995-02-01 15:29:31 neelin Exp $"; +static char rcsid[]="$Header: /private-cvsroot/minc/progs/mincinfo/mincinfo.c,v 2.3 1995-02-08 19:31:47 neelin Exp $"; #endif #include <stdlib.h> @@ -347,7 +350,8 @@ @MODIFIED : ---------------------------------------------------------------------------- */ public int get_option(char *dst, char *key, char *nextarg) -{ /* ARGSUSED */ + /* ARGSUSED */ +{ Option_code code; int return_value;
--- a/progs/minclookup/minclookup.c +++ b/progs/minclookup/minclookup.c @@ -10,9 +10,12 @@ @CALLS : @CREATED : December 6, 1994 (Peter Neelin) @MODIFIED : $Log: minclookup.c,v $ -@MODIFIED : Revision 1.3 1994-12-14 09:22:30 neelin -@MODIFIED : Removed debugging code. +@MODIFIED : Revision 1.4 1995-02-08 19:31:47 neelin +@MODIFIED : Moved ARGSUSED statements for irix 5 lint. @MODIFIED : + * Revision 1.3 1994/12/14 09:22:30 neelin + * Removed debugging code. + * * Revision 1.2 94/12/13 16:34:02 neelin * Added sorting of lookup file. * @@ -22,7 +25,7 @@ ---------------------------------------------------------------------------- */ #ifndef lint -static char rcsid[]="$Header: /private-cvsroot/minc/progs/minclookup/minclookup.c,v 1.3 1994-12-14 09:22:30 neelin Exp $"; +static char rcsid[]="$Header: /private-cvsroot/minc/progs/minclookup/minclookup.c,v 1.4 1995-02-08 19:31:47 neelin Exp $"; #endif #include <stdlib.h> @@ -652,12 +655,12 @@ @CREATED : December 8, 1994 (Peter Neelin) @MODIFIED : ---------------------------------------------------------------------------- */ -/* ARGSUSED */ public void do_lookup(void *caller_data, long num_voxels, int input_num_buffers, int input_vector_length, double *input_data[], int output_num_buffers, int output_vector_length, double *output_data[], long start[], long count[]) + /* ARGSUSED */ { Lookup_Data *lookup_data; long ivoxel;
--- a/progs/mincresample/mincresample.c +++ b/progs/mincresample/mincresample.c @@ -10,9 +10,12 @@ @CALLS : @CREATED : February 8, 1993 (Peter Neelin) @MODIFIED : $Log: mincresample.c,v $ -@MODIFIED : Revision 2.0 1994-09-28 10:32:46 neelin -@MODIFIED : Release of minc version 0.2 +@MODIFIED : Revision 2.1 1995-02-08 19:31:47 neelin +@MODIFIED : Moved ARGSUSED statements for irix 5 lint. @MODIFIED : + * Revision 2.0 1994/09/28 10:32:46 neelin + * Release of minc version 0.2 + * * Revision 1.16 94/09/28 10:32:33 neelin * Pre-release * @@ -71,7 +74,7 @@ ---------------------------------------------------------------------------- */ #ifndef lint -static char rcsid[]="$Header: /private-cvsroot/minc/progs/mincresample/mincresample.c,v 2.0 1994-09-28 10:32:46 neelin Exp $"; +static char rcsid[]="$Header: /private-cvsroot/minc/progs/mincresample/mincresample.c,v 2.1 1995-02-08 19:31:47 neelin Exp $"; #endif #include <stdlib.h> @@ -1381,7 +1384,8 @@ @MODIFIED : ---------------------------------------------------------------------------- */ public int get_transformation(char *dst, char *key, char *nextArg) -{ /* ARGSUSED */ + /* ARGSUSED */ +{ Transform_Info *transform_info; General_transform *transformation; General_transform input_transformation; @@ -1473,7 +1477,8 @@ @MODIFIED : ---------------------------------------------------------------------------- */ public int get_model_file(char *dst, char *key, char *nextArg) -{ /* ARGSUSED */ + /* ARGSUSED */ +{ Volume_Definition *volume_def; File_Info file; @@ -1512,7 +1517,8 @@ @MODIFIED : ---------------------------------------------------------------------------- */ public int get_axis_order(char *dst, char *key, char *nextArg) -{ /* ARGSUSED */ + /* ARGSUSED */ +{ Volume_Definition *volume_def; /* Get pointer to client data */ @@ -1553,7 +1559,8 @@ @MODIFIED : ---------------------------------------------------------------------------- */ public int get_fillvalue(char *dst, char *key, char *nextArg) -{ /* ARGSUSED */ + /* ARGSUSED */ +{ double *dptr; /* Get pointer to client data */
--- a/progs/mincreshape/mincreshape.c +++ b/progs/mincreshape/mincreshape.c @@ -12,9 +12,12 @@ @CALLS : @CREATED : March 10, 1994 (Peter Neelin) @MODIFIED : $Log: mincreshape.c,v $ -@MODIFIED : Revision 1.4 1994-11-23 11:47:05 neelin -@MODIFIED : Handle image-min/max properly when using icv for normalization. +@MODIFIED : Revision 1.5 1995-02-08 19:31:47 neelin +@MODIFIED : Moved ARGSUSED statements for irix 5 lint. @MODIFIED : + * Revision 1.4 1994/11/23 11:47:05 neelin + * Handle image-min/max properly when using icv for normalization. + * * Revision 1.3 94/11/22 08:46:09 neelin * Fixed handling of normalization for number of image dimensions > 2. * Added appropriate default values of image-max and image-min. @@ -38,7 +41,7 @@ ---------------------------------------------------------------------------- */ #ifndef lint -static char rcsid[]="$Header: /private-cvsroot/minc/progs/mincreshape/mincreshape.c,v 1.4 1994-11-23 11:47:05 neelin Exp $"; +static char rcsid[]="$Header: /private-cvsroot/minc/progs/mincreshape/mincreshape.c,v 1.5 1995-02-08 19:31:47 neelin Exp $"; #endif #include <stdlib.h> @@ -394,7 +397,8 @@ @MODIFIED : ---------------------------------------------------------------------------- */ public int get_fillvalue(char *dst, char *key, char *nextArg) -{ /* ARGSUSED */ + /* ARGSUSED */ +{ double *dptr; /* Get pointer to client data */ @@ -428,7 +432,8 @@ @MODIFIED : ---------------------------------------------------------------------------- */ public int get_dimsize(char *dst, char *key, char *nextArg) -{ /* ARGSUSED */ + /* ARGSUSED */ +{ Dimsize_list *dimsize_list; char *size_string; int ientry; @@ -504,7 +509,8 @@ @MODIFIED : ---------------------------------------------------------------------------- */ public int get_axis_order(char *dst, char *key, char *nextArg) -{ /* ARGSUSED */ + /* ARGSUSED */ +{ char **axis_order; char *cur; int ndims; @@ -593,7 +599,8 @@ @MODIFIED : ---------------------------------------------------------------------------- */ public int get_axis_range(char *dst, char *key, char *nextArg) -{ /* ARGSUSED */ + /* ARGSUSED */ +{ Axis_ranges *axis_ranges; int ientry; char *num_string, *cur; @@ -682,7 +689,8 @@ @MODIFIED : ---------------------------------------------------------------------------- */ public int get_arg_vector(char *dst, char *key, char *nextArg) -{ /* ARGSUSED */ + /* ARGSUSED */ +{ long *vector; int nvals, i;
--- a/progs/mincwindow/mincwindow.c +++ b/progs/mincwindow/mincwindow.c @@ -9,9 +9,12 @@ @CALLS : @CREATED : January 10, 1994 (Peter Neelin) @MODIFIED : $Log: mincwindow.c,v $ -@MODIFIED : Revision 2.1 1994-12-14 10:20:23 neelin -@MODIFIED : Changed to use standard (Proglib) voxel_loop routines. +@MODIFIED : Revision 2.2 1995-02-08 19:31:47 neelin +@MODIFIED : Moved ARGSUSED statements for irix 5 lint. @MODIFIED : + * Revision 2.1 1994/12/14 10:20:23 neelin + * Changed to use standard (Proglib) voxel_loop routines. + * * Revision 2.0 94/09/28 10:36:27 neelin * Release of minc version 0.2 * @@ -30,7 +33,7 @@ ---------------------------------------------------------------------------- */ #ifndef lint -static char rcsid[]="$Header: /private-cvsroot/minc/progs/mincwindow/mincwindow.c,v 2.1 1994-12-14 10:20:23 neelin Exp $"; +static char rcsid[]="$Header: /private-cvsroot/minc/progs/mincwindow/mincwindow.c,v 2.2 1995-02-08 19:31:47 neelin Exp $"; #endif #include <stdlib.h> @@ -154,13 +157,13 @@ @CREATED : January 11, 1994 (Peter Neelin) @MODIFIED : ---------------------------------------------------------------------------- */ -/* ARGSUSED */ public void do_window(void *caller_data, long num_voxels, int input_num_buffers, int input_vector_length, double *input_data[], int output_num_buffers, int output_vector_length, double *output_data[], long start[], long count[]) + /* ARGSUSED */ { Window_Data *window_data; long ivox;
--- a/progs/rawtominc/rawtominc.c +++ b/progs/rawtominc/rawtominc.c @@ -10,9 +10,12 @@ @CALLS : @CREATED : September 25, 1992 (Peter Neelin) @MODIFIED : $Log: rawtominc.c,v $ -@MODIFIED : Revision 2.4 1995-01-23 09:07:46 neelin -@MODIFIED : changed ncclose to miclose. +@MODIFIED : Revision 2.5 1995-02-08 19:31:47 neelin +@MODIFIED : Moved ARGSUSED statements for irix 5 lint. @MODIFIED : + * Revision 2.4 1995/01/23 09:07:46 neelin + * changed ncclose to miclose. + * * Revision 2.3 95/01/23 08:59:31 neelin * Changed nccreate to micreate * @@ -60,7 +63,7 @@ ---------------------------------------------------------------------------- */ #ifndef lint -static char rcsid[]="$Header: /private-cvsroot/minc/progs/rawtominc/rawtominc.c,v 2.4 1995-01-23 09:07:46 neelin Exp $"; +static char rcsid[]="$Header: /private-cvsroot/minc/progs/rawtominc/rawtominc.c,v 2.5 1995-02-08 19:31:47 neelin Exp $"; #endif #include <stdlib.h> @@ -793,7 +796,8 @@ @MODIFIED : ---------------------------------------------------------------------------- */ int get_attribute(char *dst, char *key, char *nextarg) -{ /* ARGSUSED */ + /* ARGSUSED */ +{ char *variable; char *attribute; char *value; @@ -875,7 +879,8 @@ @MODIFIED : ---------------------------------------------------------------------------- */ int get_times(char *dst, char *key, char *nextarg) -{ /* ARGSUSED */ + /* ARGSUSED */ +{ int *num_elements_ptr; double **time_list_ptr; int num_elements;