refactored some code. compiles now without suppresing any warning with gcc-6.3.0.
[AROS.git] / tools / genmodule / fileread.h
blobbbb2c78bc9b5a5fa075ce9fafc6fb3a4190dae71
1 /*
2 Copyright © 1995-2008, The AROS Development Team. All rights reserved.
4 Desc: The functions to read lines from a file
5 */
7 int fileopen(const char *); /* Open a file for read */
8 void fileclose(void); /* Close the opened file */
9 void filewarning(const char *, ...); /* Print a warning on stdout */
10 char *readline(void); /* Read a line from the opened file */
11 void exitfileerror(int code, const char *format, ...); /* Print exit code prefixed with filename and lineno */