jimtabor(a)svn.reactos.org wrote:
Should have placed extern in there.
Modified: trunk/reactos/subsys/win32k/ntuser/menu.c
------------------------------------------------------------------------
*Modified: trunk/reactos/subsys/win32k/ntuser/menu.c*
--- trunk/reactos/subsys/win32k/ntuser/menu.c 2006-01-06 11:58:17 UTC (rev 20608)
+++ trunk/reactos/subsys/win32k/ntuser/menu.c 2006-01-06 13:57:38 UTC (rev 20609)
@@ -33,7 +33,7 @@
#define NDEBUG
#include <debug.h>
-PMENU_OBJECT FASTCALL
+extern PMENU_OBJECT FASTCALL
IntGetSystemMenu(PWINDOW_OBJECT Window, BOOL bRevert, BOOL RetMenu);
'extern' for forward declarations of functions is obsolete. The
standards don't require it.
- Thomas