Bus: make the resource list static.

This commit is contained in:
Adam Jackson 2009-01-26 03:14:18 -05:00
parent bde028dd8d
commit b013111e98
2 changed files with 1 additions and 5 deletions

View File

@ -70,9 +70,8 @@ BusRec primaryBus = { BUS_NONE, { 0 } };
static Bool xf86ResAccessEnter = FALSE; static Bool xf86ResAccessEnter = FALSE;
/* resource lists */ /* resource lists */
resPtr Acc = NULL; static resPtr Acc = NULL;
/* predefined special resources */ /* predefined special resources */
resRange resVgaExclusive[] = {_VGA_EXCLUSIVE, _END}; resRange resVgaExclusive[] = {_VGA_EXCLUSIVE, _END};

View File

@ -1,4 +1,3 @@
/* /*
* Copyright (c) 1997-2003 by The XFree86 Project, Inc. * Copyright (c) 1997-2003 by The XFree86 Project, Inc.
* *
@ -131,8 +130,6 @@ extern EntityPtr *xf86Entities;
extern int xf86NumEntities; extern int xf86NumEntities;
extern xf86AccessRec AccessNULL; extern xf86AccessRec AccessNULL;
extern BusRec primaryBus; extern BusRec primaryBus;
extern resPtr Acc;
extern resPtr ResRange;
extern BusAccPtr xf86BusAccInfo; extern BusAccPtr xf86BusAccInfo;
int xf86AllocateEntity(void); int xf86AllocateEntity(void);