Commit 65a643bb authored by Tor Lillqvist's avatar Tor Lillqvist Committed by Tor Lillqvist
Browse files

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.
parent 7dd45bc3
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]
......
......@@ -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, \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment