Skip to content

Commit

Permalink
Make game_t static instead of global
Browse files Browse the repository at this point in the history
  • Loading branch information
vimalloc committed Nov 24, 2011
1 parent 9b51975 commit ce45cac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game.c
Expand Up @@ -14,7 +14,7 @@
#define MAX_FRAMESKIP 10

/* Global, so that the signal handlers can interact with it */
game_t *g;
static game_t *g;

static void game_sdl_init(game_t *g) {
g->event = malloc(sizeof(SDL_Event));
Expand Down

0 comments on commit ce45cac

Please sign in to comment.