Add prototype for WinMain to avoid gcc warning.

2006-11-24  Tor Lillqvist  <tml@novell.com>

	* libgimp/gimp.h (MAIN): Add prototype for WinMain to avoid gcc
	warning.
This commit is contained in:
Tor Lillqvist
2006-11-24 12:47:24 +00:00
committed by Tor Lillqvist
parent 7dd45bc30a
commit 65a643bb20
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-11-24 Tor Lillqvist <tml@novell.com>
* libgimp/gimp.h (MAIN): Add prototype for WinMain to avoid gcc
warning.
2006-11-24 Sven Neumann <sven@gimp.org>
* plug-ins/flame/libifs.[ch]

View File

@ -190,6 +190,13 @@ struct _GimpParam
# define MAIN() \
struct HINSTANCE__; \
\
int _stdcall \
WinMain (struct HINSTANCE__ *hInstance, \
struct HINSTANCE__ *hPrevInstance, \
char *lpszCmdLine, \
int nCmdShow); \
\
int _stdcall \
WinMain (struct HINSTANCE__ *hInstance, \
struct HINSTANCE__ *hPrevInstance, \