for public API, a prototype should be added to the .h
for private functions, they should be marked 'static' (possibly instead of VIOAPI)
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'
11 warnings about missing prototypes.
There are two solutions:
I'm not in a position to know really which is which...