Retirando os externs
[NesEmulator.git] / utils.h
blobdaca9ff56165a4740a50f90699ff66244eb205e1
1 #ifndef __UTILS_H
2 #define __UTILS_H
4 #include <stddef.h>
5 #include <stdarg.h>
7 void report (const char *fmt, ...);
9 void error (const char *fmt, ...);
10 void xerror (const char *fmt, ...);
12 void fatal (const char *fmt, ...);
13 void xfatal (const char *fmt, ...);
15 void *xmalloc (size_t size);
17 void *read_file (const char *path, size_t *size);
19 #endif /* __UTILS_H */