Commit cc70cd9d authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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

parent 5b4f0dfc
...@@ -707,7 +707,7 @@ typedef struct ...@@ -707,7 +707,7 @@ typedef struct
RECT *prcButtons; RECT *prcButtons;
} tbsize_result_t; } 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; tbsize_result_t ret;
SetRect(&ret.rcClient, cleft, ctop, cright, cbottom); 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 ...@@ -719,7 +719,7 @@ tbsize_result_t init_tbsize_result(int nButtonsAlloc, int cleft, int ctop, int c
return ret; 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); SetRect(&tbsr->prcButtons[tbsr->nButtons], left, top, right, bottom);
tbsr->nButtons++; tbsr->nButtons++;
} }
......
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