From b013111e98d50f5962e9b275eb28d969d5c9576e Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Mon, 26 Jan 2009 03:14:18 -0500 Subject: [PATCH] Bus: make the resource list static. --- hw/xfree86/common/xf86Bus.c | 3 +-- hw/xfree86/common/xf86Bus.h | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/hw/xfree86/common/xf86Bus.c b/hw/xfree86/common/xf86Bus.c index 69f515229..ece87528c 100644 --- a/hw/xfree86/common/xf86Bus.c +++ b/hw/xfree86/common/xf86Bus.c @@ -70,9 +70,8 @@ BusRec primaryBus = { BUS_NONE, { 0 } }; static Bool xf86ResAccessEnter = FALSE; - /* resource lists */ -resPtr Acc = NULL; +static resPtr Acc = NULL; /* predefined special resources */ resRange resVgaExclusive[] = {_VGA_EXCLUSIVE, _END}; diff --git a/hw/xfree86/common/xf86Bus.h b/hw/xfree86/common/xf86Bus.h index c2d5bb7d4..be19e1984 100644 --- a/hw/xfree86/common/xf86Bus.h +++ b/hw/xfree86/common/xf86Bus.h @@ -1,4 +1,3 @@ - /* * Copyright (c) 1997-2003 by The XFree86 Project, Inc. * @@ -131,8 +130,6 @@ extern EntityPtr *xf86Entities; extern int xf86NumEntities; extern xf86AccessRec AccessNULL; extern BusRec primaryBus; -extern resPtr Acc; -extern resPtr ResRange; extern BusAccPtr xf86BusAccInfo; int xf86AllocateEntity(void);