fixed global variables, made them extern in *.h files

This commit is contained in:
TLINDEN
2013-12-01 16:15:41 +01:00
parent 6dc134c005
commit dc5f74e9be
4 changed files with 16 additions and 7 deletions

View File

@@ -65,9 +65,9 @@ typedef unsigned int qbyte; // Quad byte = 32 bits
// sigs
#define PCP_SIG_VERSION 2
char *PCP_ERR;
byte PCP_ERRSET;
int PCP_EXIT;
extern char *PCP_ERR;
extern byte PCP_ERRSET;
extern int PCP_EXIT;
//set error
void fatal(const char * fmt, ...);