// .h file: functions' declaration used in main function // implementation in func.c #ifndef _FUNC_H_ #define _FUNC_H_ extern void readImage( char *inputfile, image *im ); extern void convertPGM(int num_components, image *im); #endif