mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-17 09:02:25 +00:00
More external function flatening (less external symbols)
This commit is contained in:
parent
3f546df677
commit
3e7340c52c
3 changed files with 1 additions and 7 deletions
5
fs.c
5
fs.c
|
@ -165,11 +165,6 @@ int fs_file_seek(FILE *fp, long int off, int whence) {
|
|||
return fseek(fp, off, whence);
|
||||
}
|
||||
|
||||
int fs_file_putc(FILE *fp, int ch) {
|
||||
/* Invokes file_exception on windows if fp is null */
|
||||
return fputc(ch, fp);
|
||||
}
|
||||
|
||||
int fs_file_flush(FILE *fp) {
|
||||
/* Invokes file_exception on windows if fp is null */
|
||||
return fflush(fp);
|
||||
|
|
2
ftepp.c
2
ftepp.c
|
@ -422,7 +422,7 @@ static bool ftepp_define_body(ftepp_t *ftepp, ppmacro *macro)
|
|||
return false;
|
||||
}
|
||||
|
||||
index = atoi(ftepp_tokval(ftepp));
|
||||
index = (int)strtol(ftepp_tokval(ftepp), NULL, 10);
|
||||
|
||||
if (ftepp_next(ftepp) != ']') {
|
||||
ftepp_error(ftepp, "expected `]` in __VA_ARGS__ subscript");
|
||||
|
|
1
gmqcc.h
1
gmqcc.h
|
@ -469,7 +469,6 @@ int fs_file_getc (FILE *);
|
|||
int fs_file_flush (FILE *);
|
||||
int fs_file_printf (FILE *, const char *, ...);
|
||||
int fs_file_puts (FILE *, const char *);
|
||||
int fs_file_putc (FILE *, int);
|
||||
int fs_file_seek (FILE *, long int, int);
|
||||
long int fs_file_tell (FILE *);
|
||||
|
||||
|
|
Loading…
Reference in a new issue