diff --git a/examples/fileio/src/fileio.c b/examples/fileio/src/fileio.c index 80bbe3b..188065e 100644 --- a/examples/fileio/src/fileio.c +++ b/examples/fileio/src/fileio.c @@ -20,10 +20,11 @@ void cat_file( FILE *fp ); void read_file( FILE *fp, int num, int pos, int origin, const char *message ); int seek_file( FILE *fp, int pos, int origin, const char *message ); void putint( int i ); - +int remove(const char *fname); //TODO this fixes a compiler error, even though this is also in stdio.h. Why is this necessary? const int max_line_len = 82; // 80 characters + CR/LF pair + int main( void ) { char fname_str[ max_line_len+1 ];