mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-30 00:10:53 +00:00
fix C --pedantic warnings
* extra semicolon in struct or union specified * ISO C does not allow extra ‘;’ outside of a function
This commit is contained in:
parent
65f8c171c5
commit
12b27e631d
1 changed files with 2 additions and 2 deletions
|
@ -148,7 +148,7 @@ typedef unsigned char byte;
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#define PRINTF_ATTR(FMT, VARGS)
|
#define PRINTF_ATTR(FMT, VARGS)
|
||||||
#else // at least GCC/mingw and clang support this
|
#else // at least GCC/mingw and clang support this
|
||||||
#define PRINTF_ATTR(FMT, VARGS) __attribute__((format(printf, FMT , VARGS )));
|
#define PRINTF_ATTR(FMT, VARGS) __attribute__((format(printf, FMT , VARGS )))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* per-level limits */
|
/* per-level limits */
|
||||||
|
|
Loading…
Reference in a new issue