mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-20 19:24:37 +03:00
Make rxsig private to gui.c
This commit is contained in:
parent
ccccf76ff8
commit
df2b14ed5f
@ -109,7 +109,7 @@ STATIC struct ARexxCmd Commands[] =
|
||||
{ NULL, 0, NULL, NULL, 0, NULL, 0, 0, NULL }
|
||||
};
|
||||
|
||||
BOOL ami_arexx_init(void)
|
||||
bool ami_arexx_init(ULONG *rxsig)
|
||||
{
|
||||
if((arexx_obj = ARexxObj,
|
||||
AREXX_HostName,"NETSURF",
|
||||
@ -119,7 +119,7 @@ BOOL ami_arexx_init(void)
|
||||
AREXX_DefExtension,"nsrx",
|
||||
End))
|
||||
{
|
||||
GetAttr(AREXX_SigMask, arexx_obj, &rxsig);
|
||||
GetAttr(AREXX_SigMask, arexx_obj, rxsig);
|
||||
return true;
|
||||
}
|
||||
else
|
||||
|
@ -22,11 +22,9 @@
|
||||
#include <proto/arexx.h>
|
||||
#include <classes/arexx.h>
|
||||
|
||||
BOOL ami_arexx_init(void);
|
||||
bool ami_arexx_init(ULONG *rxsig);
|
||||
void ami_arexx_handle(void);
|
||||
void ami_arexx_execute(char *);
|
||||
void ami_arexx_command(const char *cmd);
|
||||
void ami_arexx_cleanup(void);
|
||||
|
||||
ULONG rxsig;
|
||||
#endif
|
||||
|
@ -198,8 +198,9 @@ static bool win_destroyed;
|
||||
static STRPTR nsscreentitle;
|
||||
|
||||
static struct MsgPort *applibport = NULL;
|
||||
static ULONG applibsig = 0;
|
||||
static uint32 ami_appid = 0;
|
||||
static ULONG applibsig = 0;
|
||||
static ULONG rxsig = 0;
|
||||
static struct Hook newprefs_hook;
|
||||
|
||||
static STRPTR temp_homepage_url = NULL;
|
||||
@ -944,7 +945,7 @@ static void gui_init2(int argc, char** argv)
|
||||
nserror error;
|
||||
struct browser_window *bw = NULL;
|
||||
|
||||
notalreadyrunning = ami_arexx_init();
|
||||
notalreadyrunning = ami_arexx_init(&rxsig);
|
||||
|
||||
/* Treeview init code ends up calling a font function which needs this */
|
||||
glob = &browserglob;
|
||||
|
Loading…
Reference in New Issue
Block a user