mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
demos: Do not trigger -Wmissing-prototypes for wmain().
For some reason wmain() is not exempted from -Wmissing-prototypes in the same way as main() is. So we just declare a prototype for it.
This commit is contained in:
committed by
Alexandre Julliard
parent
627cf50320
commit
ede1ff6951
Notes:
Alexandre Julliard
2023-10-02 22:33:40 +02:00
Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/377
@ -401,6 +401,9 @@ static int cxt_main(void)
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
/* Do not trigger -Wmissing-prototypes. */
|
||||
int wmain(void);
|
||||
|
||||
int wmain(void)
|
||||
#else
|
||||
int main(void)
|
||||
|
Reference in New Issue
Block a user