extern definitions to fix build with gcc 10

This commit is contained in:
Thomas Batten 2021-01-22 20:35:20 +10:30
parent 578b96abd0
commit 46f08a0b96
2 changed files with 4 additions and 4 deletions

View File

@ -181,11 +181,11 @@ typedef struct _CallbackList {
/* proc vectors */
int (* InitialVector[3]) (ClientPtr /*client*/);
extern int (* InitialVector[3]) (ClientPtr /*client*/);
int (* ProcVector[256]) (ClientPtr /*client*/);
extern int (* ProcVector[256]) (ClientPtr /*client*/);
int (* SwappedProcVector[256]) (ClientPtr /*client*/);
extern int (* SwappedProcVector[256]) (ClientPtr /*client*/);
extern const ReplySwapPtr ReplySwapVector[256];

View File

@ -90,7 +90,7 @@ typedef struct _NewClientRec *NewClientPtr;
#define SIGVAL void
#endif
void (*OsVendorVErrorFProc)(const char *, va_list args);
extern void (*OsVendorVErrorFProc)(const char *, va_list args);
int WaitForSomething(
int* /*pClientsReady*/