Make hook function static

This commit is contained in:
Chris Young 2015-02-23 19:39:56 +00:00
parent 2d09c81dd5
commit b70ab2a7a3

View File

@ -197,7 +197,7 @@ static const __attribute__((used)) char *stack_cookie = "\0$STACK:131072\0";
const char * const versvn; const char * const versvn;
const char * const verdate; const char * const verdate;
void ami_scroller_hook(struct Hook *,Object *,struct IntuiMessage *); static void ami_scroller_hook(struct Hook *,Object *,struct IntuiMessage *);
void ami_switch_tab(struct gui_window_2 *gwin,bool redraw); void ami_switch_tab(struct gui_window_2 *gwin,bool redraw);
void ami_change_tab(struct gui_window_2 *gwin, int direction); void ami_change_tab(struct gui_window_2 *gwin, int direction);
void ami_get_hscroll_pos(struct gui_window_2 *gwin, ULONG *xs); void ami_get_hscroll_pos(struct gui_window_2 *gwin, ULONG *xs);
@ -5101,7 +5101,7 @@ static bool gui_window_drag_start(struct gui_window *g, gui_drag_type type,
return true; return true;
} }
void ami_scroller_hook(struct Hook *hook,Object *object,struct IntuiMessage *msg) static void ami_scroller_hook(struct Hook *hook,Object *object,struct IntuiMessage *msg)
{ {
ULONG gid; ULONG gid;
struct gui_window_2 *gwin = hook->h_Data; struct gui_window_2 *gwin = hook->h_Data;