From 9f0b252371e8a5070cc8a4ffd5ef3a890a90fe52 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 9 Nov 2014 19:58:19 +0000 Subject: Fix warnings --- amiga/login.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'amiga/login.c') diff --git a/amiga/login.c b/amiga/login.c index 954c58b76..f7521c040 100755 --- a/amiga/login.c +++ b/amiga/login.c @@ -169,7 +169,7 @@ void gui_401login_open(nsurl *url, const char *realm, lw->node->objstruct = lw; } -void ami_401login_close(struct gui_login_window *lw) +static void ami_401login_close(struct gui_login_window *lw) { /* If continuation exists, then forbid refetch */ if (lw->cb != NULL) @@ -181,7 +181,7 @@ void ami_401login_close(struct gui_login_window *lw) DelObject(lw->node); } -void ami_401login_login(struct gui_login_window *lw) +static void ami_401login_login(struct gui_login_window *lw) { ULONG *user,*pass; STRPTR userpass; @@ -205,7 +205,7 @@ void ami_401login_login(struct gui_login_window *lw) BOOL ami_401login_event(struct gui_login_window *lw) { /* return TRUE if window destroyed */ - ULONG class,result,relevent = 0; + ULONG result; uint16 code; while((result = RA_HandleInput(lw->objects[OID_MAIN], &code)) != WMHI_LASTMSG) @@ -230,3 +230,4 @@ BOOL ami_401login_event(struct gui_login_window *lw) } return FALSE; } + -- cgit v1.2.3