Made private functions in the various bin source files static.

This commit is contained in:
Pietro Gagliardi 2015-05-04 17:42:20 -04:00
parent 00d27ef83b
commit 8b8be286ff
3 changed files with 10 additions and 10 deletions

View File

@ -11,7 +11,7 @@ struct bin {
intmax_t marginBottom; intmax_t marginBottom;
}; };
void binDestroy(uiControl *c) static void binDestroy(uiControl *c)
{ {
struct bin *b = (struct bin *) c; struct bin *b = (struct bin *) c;
NSView *v; NSView *v;
@ -33,7 +33,7 @@ void binDestroy(uiControl *c)
uiFree(b); uiFree(b);
} }
void binPreferredSize(uiControl *c, uiSizing *d, intmax_t *width, intmax_t *height) static void binPreferredSize(uiControl *c, uiSizing *d, intmax_t *width, intmax_t *height)
{ {
struct bin *b = (struct bin *) c; struct bin *b = (struct bin *) c;
intmax_t marginX, marginY; intmax_t marginX, marginY;
@ -50,7 +50,7 @@ void binPreferredSize(uiControl *c, uiSizing *d, intmax_t *width, intmax_t *heig
*height += marginY; *height += marginY;
} }
void binSysFunc(uiControl *c, uiControlSysFuncParams *p) static void binSysFunc(uiControl *c, uiControlSysFuncParams *p)
{ {
struct bin *b = (struct bin *) c; struct bin *b = (struct bin *) c;
@ -58,7 +58,7 @@ void binSysFunc(uiControl *c, uiControlSysFuncParams *p)
uiControlSysFunc(b->mainControl, p); uiControlSysFunc(b->mainControl, p);
} }
void binResizeChildren(uiContainer *c, intmax_t x, intmax_t y, intmax_t width, intmax_t height, uiSizing *d) static void binResizeChildren(uiContainer *c, intmax_t x, intmax_t y, intmax_t width, intmax_t height, uiSizing *d)
{ {
struct bin *b = (struct bin *) c; struct bin *b = (struct bin *) c;

View File

@ -11,7 +11,7 @@ struct bin {
intmax_t marginBottom; intmax_t marginBottom;
}; };
void binDestroy(uiControl *c) static void binDestroy(uiControl *c)
{ {
struct bin *b = (struct bin *) c; struct bin *b = (struct bin *) c;
GtkWidget *binWidget; GtkWidget *binWidget;
@ -30,7 +30,7 @@ void binDestroy(uiControl *c)
uiFree(b); uiFree(b);
} }
void binPreferredSize(uiControl *c, uiSizing *d, intmax_t *width, intmax_t *height) static void binPreferredSize(uiControl *c, uiSizing *d, intmax_t *width, intmax_t *height)
{ {
struct bin *b = (struct bin *) c; struct bin *b = (struct bin *) c;
intmax_t marginX, marginY; intmax_t marginX, marginY;
@ -47,7 +47,7 @@ void binPreferredSize(uiControl *c, uiSizing *d, intmax_t *width, intmax_t *heig
*height += marginY; *height += marginY;
} }
void binResizeChildren(uiContainer *c, intmax_t x, intmax_t y, intmax_t width, intmax_t height, uiSizing *d) static void binResizeChildren(uiContainer *c, intmax_t x, intmax_t y, intmax_t width, intmax_t height, uiSizing *d)
{ {
struct bin *b = (struct bin *) c; struct bin *b = (struct bin *) c;

View File

@ -11,7 +11,7 @@ struct bin {
intmax_t marginBottom; intmax_t marginBottom;
}; };
void binDestroy(uiControl *c) static void binDestroy(uiControl *c)
{ {
struct bin *b = (struct bin *) c; struct bin *b = (struct bin *) c;
HWND hwnd; HWND hwnd;
@ -30,7 +30,7 @@ void binDestroy(uiControl *c)
uiFree(b); uiFree(b);
} }
void binPreferredSize(uiControl *c, uiSizing *d, intmax_t *width, intmax_t *height) static void binPreferredSize(uiControl *c, uiSizing *d, intmax_t *width, intmax_t *height)
{ {
struct bin *b = (struct bin *) c; struct bin *b = (struct bin *) c;
intmax_t marginX, marginY; intmax_t marginX, marginY;
@ -55,7 +55,7 @@ static void binSysFunc(uiControl *c, uiControlSysFuncParams *p)
uiControlSysFunc(b->mainControl, p); uiControlSysFunc(b->mainControl, p);
} }
void binResizeChildren(uiContainer *c, intmax_t x, intmax_t y, intmax_t width, intmax_t height, uiSizing *d) static void binResizeChildren(uiContainer *c, intmax_t x, intmax_t y, intmax_t width, intmax_t height, uiSizing *d)
{ {
struct bin *b = (struct bin *) c; struct bin *b = (struct bin *) c;
intmax_t marginLeft, marginTop; intmax_t marginLeft, marginTop;