BIC-MNI / libminc

libminc is the core library and API of the MINC toolkit
Other
19 stars 29 forks source link

11 easy "No previous prototype for function warnings" #27

Closed seanm closed 9 years ago

seanm commented 9 years ago

11 warnings about missing prototypes.

There are two solutions:

I'm not in a position to know really which is which...

/Users/sean/external/libminc/libsrc2/minc2_error.c:342:5: No previous prototype for function 'mi2log_set_verbosity'

/Users/sean/external/libminc/libsrc2/convert.c:269:1: No previous prototype for function 'miconvert_world_origin_to_start'

/Users/sean/external/libminc/libsrc2/convert.c:284:1: No previous prototype for function 'miconvert_spatial_frequency_origin_to_start'

/Users/sean/external/libminc/libsrc2/convert.c:448:1: No previous prototype for function 'miset_spatial_frequency_origin'

/Users/sean/external/libminc/volume_io/Volumes/input_volume.c:33:1: No previous prototype for function 'print_volume'

/Users/sean/external/libminc/volume_io/Volumes/output_mnc2.c:812:21: No previous prototype for function 'output_minc2_hyperslab'

/Users/sean/external/libminc/volume_io/Volumes/output_mnc2.c:1281:21: No previous prototype for function 'output_volume_to_minc2_file_position'

/Users/sean/external/libminc/volume_io/Volumes/input_mnc2.c:48:20: No previous prototype for function 'initialize_minc_input_from_minc2_id'

/Users/sean/external/libminc/volume_io/Volumes/input_mnc2.c:626:22: No previous prototype for function 'input_minc2_hyperslab'

/Users/sean/external/libminc/volume_io/Volumes/input_mnc2.c:967:19: No previous prototype for function 'advance_input_volume2'

/Users/sean/external/libminc/volume_io/Volumes/input_mnc2.c:1051:15: No previous prototype for function 'reset_input_volume2'
rdvincent commented 9 years ago

@seanm Please check the latest commit...

seanm commented 9 years ago

Thanks!