Andrew Talbot : user32: Declare some functions static.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Feb 5 07:45:03 CST 2007


Module: wine
Branch: master
Commit: 29c66df45b9c20703469e8a1ac517823ffd94ede
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=29c66df45b9c20703469e8a1ac517823ffd94ede

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Wed Jan 31 20:22:01 2007 +0000

user32: Declare some functions static.

---

 dlls/user32/comm16.c |    2 +-
 dlls/user32/menu.c   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/user32/comm16.c b/dlls/user32/comm16.c
index ebeb97c..4f6a076 100644
--- a/dlls/user32/comm16.c
+++ b/dlls/user32/comm16.c
@@ -361,7 +361,7 @@ static void comm_waitwrite(struct DosDev
 /*****************************************************************************
  *	COMM16_DCBtoDCB16	(Internal)
  */
-INT16 COMM16_DCBtoDCB16(LPDCB lpdcb, LPDCB16 lpdcb16)
+static INT16 COMM16_DCBtoDCB16(LPDCB lpdcb, LPDCB16 lpdcb16)
 {
 	if(lpdcb->BaudRate<0x10000)
 		lpdcb16->BaudRate = lpdcb->BaudRate;
diff --git a/dlls/user32/menu.c b/dlls/user32/menu.c
index 0e87fde..4ac2e93 100644
--- a/dlls/user32/menu.c
+++ b/dlls/user32/menu.c
@@ -440,7 +440,7 @@ static HMENU MENU_CopySysPopup(void)
  * However, the real system menu handle is sometimes seen in the
  * WM_MENUSELECT parameters (and Word 6 likes it this way).
  */
-HMENU MENU_GetSysMenu( HWND hWnd, HMENU hPopupMenu )
+static HMENU MENU_GetSysMenu( HWND hWnd, HMENU hPopupMenu )
 {
     HMENU hMenu;
 




More information about the wine-cvs mailing list