Skip to content

Commit

Permalink
Avoid multiple definitions of the export table
Browse files Browse the repository at this point in the history
  • Loading branch information
uyjulian committed Jun 11, 2021
1 parent 1c4ec89 commit c7c7886
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion modules/debug/ioptrap/ioptrap.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

IRX_ID("ioptrap_driver", 1, 1);

struct irx_export_table _exp_ioptrap;
extern struct irx_export_table _exp_ioptrap;


static const char *exception_type_name[] = {
Expand Down
2 changes: 1 addition & 1 deletion modules/debug/udptty-ingame/udptty.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#define MODNAME "udptty"
IRX_ID(MODNAME, 2, 1);

struct irx_export_table _exp_udptty;
extern struct irx_export_table _exp_udptty;

#define DEVNAME "tty"

Expand Down
2 changes: 1 addition & 1 deletion modules/iopcore/cdvdfsv/cdvdfsv.c
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ static u8 shutdown_rpcbuf[16];

static int rpc0_thread_id, rpc1_thread_id, rpc2_thread_id, rpc_sd_thread_id;

struct irx_export_table _exp_cdvdfsv;
extern struct irx_export_table _exp_cdvdfsv;

//-------------------------------------------------------------------------
int _start(int argc, char *argv[])
Expand Down
2 changes: 1 addition & 1 deletion modules/network/lwnbdsvr/lwnbdsvr.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#define MODNAME "lwnbdsvr"
IRX_ID(MODNAME, 1, 1);
static int nbd_tid;
struct irx_export_table _exp_lwnbdsvr;
extern struct irx_export_table _exp_lwnbdsvr;

int _start(int argc, char **argv)
{
Expand Down

0 comments on commit c7c7886

Please sign in to comment.