Francois Gouget : comctl32/tests: Make init_tbsize_result() and tbsize_addbutton() static.

Alexandre Julliard julliard at winehq.org
Wed Mar 16 12:22:37 CDT 2011


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Wed Mar 16 08:25:57 2011 +0100

comctl32/tests: Make init_tbsize_result() and tbsize_addbutton() static.

---

 dlls/comctl32/tests/toolbar.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/comctl32/tests/toolbar.c b/dlls/comctl32/tests/toolbar.c
index 280a333..6be6769 100644
--- a/dlls/comctl32/tests/toolbar.c
+++ b/dlls/comctl32/tests/toolbar.c
@@ -707,7 +707,7 @@ typedef struct
     RECT *prcButtons;
 } tbsize_result_t;
 
-tbsize_result_t init_tbsize_result(int nButtonsAlloc, int cleft, int ctop, int cright, int cbottom, int minx, int miny) {
+static tbsize_result_t init_tbsize_result(int nButtonsAlloc, int cleft, int ctop, int cright, int cbottom, int minx, int miny) {
     tbsize_result_t ret;
 
     SetRect(&ret.rcClient, cleft, ctop, cright, cbottom);
@@ -719,7 +719,7 @@ tbsize_result_t init_tbsize_result(int nButtonsAlloc, int cleft, int ctop, int c
     return ret;
 }
 
-void tbsize_addbutton(tbsize_result_t *tbsr, int left, int top, int right, int bottom) {
+static void tbsize_addbutton(tbsize_result_t *tbsr, int left, int top, int right, int bottom) {
     SetRect(&tbsr->prcButtons[tbsr->nButtons], left, top, right, bottom);
     tbsr->nButtons++;
 }




More information about the wine-cvs mailing list