comctl32/tests: Make init_tbsize_result() and tbsize_addbutton() static.
Francois Gouget
fgouget at free.fr
Wed Mar 16 02:25:57 CDT 2011
---
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++;
}
--
1.7.2.3
More information about the wine-patches
mailing list