mirror of https://github.com/nobuh/napple1.git
Merge pull request #4 from nobuh/multiple-difinition-error
Multiple definition error at make
This commit is contained in:
commit
2e17ed5e27
|
@ -36,6 +36,8 @@ static int indexX, indexY;
|
|||
static WINDOW *screen;
|
||||
static long long interval_start; /* interval start time in u sec */
|
||||
|
||||
int nrow, ncol;
|
||||
|
||||
char getch_screen(void)
|
||||
{
|
||||
return (char)wgetch(screen);
|
||||
|
|
|
@ -25,5 +25,5 @@ void outputDsp(unsigned char dsp);
|
|||
char getch_screen(void);
|
||||
void select_screen(void);
|
||||
|
||||
int nrow, ncol;
|
||||
extern int nrow, ncol;
|
||||
|
||||
|
|
Loading…
Reference in New Issue