Skip to content

Commit

Permalink
fix missing extern declarations that break the build on recent gcc ve…
Browse files Browse the repository at this point in the history
…rsions
  • Loading branch information
nettings committed Dec 8, 2021
1 parent 3866928 commit bbc27c9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions globals.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@
#define NFO(fmt, args...) if (verbose) fprintf(stdout, fmt "\n", ## args);
#endif

int verbose;
int use_jack;
int use_alsa;
int use_osc;
int use_stdout;
int use_slave;
extern int verbose;
extern int use_jack;
extern int use_alsa;
extern int use_osc;
extern int use_stdout;
extern int use_slave;

typedef enum {
NOCTL,
Expand Down
1 change: 1 addition & 0 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ int use_alsa = 0;
int use_jack = 0;
int use_osc = 0;
int use_stdout = 0;
int use_slave = 0;

char* osc_url;

Expand Down

0 comments on commit bbc27c9

Please sign in to comment.