Skip to content

Commit

Permalink
Fix GCC10 compilation (-fno-common fixes)
Browse files Browse the repository at this point in the history
  • Loading branch information
rtissera committed Jul 11, 2020
1 parent 82c352e commit a9eee5a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion gles2n64/src/N64.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <stdint.h>
#include "N64.h"

uint8_t *DMEM;
extern uint8_t *DMEM;
uint64_t TMEM[512];
uint8_t *RDRAM;
uint32_t RDRAMSize;
2 changes: 1 addition & 1 deletion glide2gl/src/Glide64/glide64_rdp.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ uint32_t uc_crc;
static int reset = 0;
int old_ucode = -1;


void (*_gSPVertex)(uint32_t addr, uint32_t n, uint32_t v0);

void rdp_setfuncs(void)
{
Expand Down
2 changes: 1 addition & 1 deletion glide2gl/src/Glide64/rdp.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#include "Gfx_1.3.h"
#include "../Glitch64/glide.h"

void (*_gSPVertex)(uint32_t addr, uint32_t n, uint32_t v0);
extern void (*_gSPVertex)(uint32_t addr, uint32_t n, uint32_t v0);

extern uint32_t frame_count; // frame counter
extern uint32_t gfx_plugin_accuracy;
Expand Down
4 changes: 2 additions & 2 deletions mupen64plus-core/src/dd/dd_controller.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
#include "si/pif.h"
#include "si/si_controller.h"

int dd_bm_mode_read;
int CUR_BLOCK;
extern int dd_bm_mode_read;
extern int CUR_BLOCK;
int dd_bm_reset_hold;
struct tm* timeinfo;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ extern m64p_rom_header ROM_HEADER;

#define FRAME_DURATION 24

bool alternate_mapping;
extern bool alternate_mapping;

/* global data definitions */
struct
Expand Down

0 comments on commit a9eee5a

Please sign in to comment.