diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2007-08-02 14:27:03 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil> | 2007-08-02 14:27:03 -0400 |
commit | e34fcd2bf42dbd72ab6ce2df80f2dcaa13416e74 (patch) | |
tree | c9639b11acb0ff6c90d774574b0392d81320e84e /hw/xfree86/loader | |
parent | 32c0dcc8c0d1edba5d7e418fd2dc916847a4f069 (diff) | |
parent | f3955c0a020b39021050cd33c20a17f14fc4b579 (diff) |
Merge branch 'master' into XACE-SELINUX
Conflicts:
dix/devices.c
dix/property.c
include/dix.h
Diffstat (limited to 'hw/xfree86/loader')
-rw-r--r-- | hw/xfree86/loader/loadmod.c | 7 | ||||
-rw-r--r-- | hw/xfree86/loader/os.c | 2 | ||||
-rw-r--r-- | hw/xfree86/loader/xf86sym.c | 33 |
3 files changed, 3 insertions, 39 deletions
diff --git a/hw/xfree86/loader/loadmod.c b/hw/xfree86/loader/loadmod.c index 6a1c65e4a..1b5c717fd 100644 --- a/hw/xfree86/loader/loadmod.c +++ b/hw/xfree86/loader/loadmod.c @@ -118,12 +118,7 @@ static char **defaultPathList = NULL; static Bool PathIsAbsolute(const char *path) { -#ifdef __UNIXOS2__ - return (*path == '/' || (strlen(path) > 2 && isalpha(elem[0]) && - elem[1] == ':' && elem[2] == '/')); -#else return (*path == '/'); -#endif } /* @@ -869,7 +864,7 @@ doLoadModule(const char *module, const char *path, const char **subdirlist, for (cim = compiled_in_modules; *cim; cim++) if (!strcmp (module, *cim)) { - xf86MsgVerb(X_INFO, 0, "Module already built-in\n"); + xf86MsgVerb(X_INFO, 0, "Module \"%s\" already built-in\n", module); return (ModuleDescPtr) 1; } diff --git a/hw/xfree86/loader/os.c b/hw/xfree86/loader/os.c index 83fd24787..fdddce898 100644 --- a/hw/xfree86/loader/os.c +++ b/hw/xfree86/loader/os.c @@ -62,8 +62,6 @@ #define OSNAME "svr5" #elif defined(SVR4) #define OSNAME "svr4" -#elif defined(__UNIXOS2__) -#define OSNAME "os2" #else #define OSNAME "unknown" #endif diff --git a/hw/xfree86/loader/xf86sym.c b/hw/xfree86/loader/xf86sym.c index b4ae42f74..d925bedc0 100644 --- a/hw/xfree86/loader/xf86sym.c +++ b/hw/xfree86/loader/xf86sym.c @@ -46,8 +46,6 @@ * authorization from the copyright holder(s) and author(s). */ -#define INCLUDE_DEPRECATED 1 - #ifdef HAVE_XORG_CONFIG_H #include <xorg-config.h> #endif @@ -150,9 +148,7 @@ extern void _Qp_uitoq(unsigned int *, unsigned int); #endif #if defined(__GNUC__) -#ifndef __UNIXOS2__ extern long __div64(long, long); -#endif extern long __divdf3(long, long); extern long __divdi3(long, long); extern long __divsf3(long, long); @@ -160,9 +156,7 @@ extern long __divsi3(long, long); extern long __moddi3(long, long); extern long __modsi3(long, long); -#ifndef __UNIXOS2__ extern long __mul64(long, long); -#endif extern long __muldf3(long, long); extern long __muldi3(long, long); extern long __mulsf3(long, long); @@ -172,18 +166,14 @@ extern long __udivsi3(long, long); extern long __umoddi3(long, long); extern long __umodsi3(long, long); -#ifndef __UNIXOS2__ #pragma weak __div64 -#endif #pragma weak __divdf3 #pragma weak __divdi3 #pragma weak __divsf3 #pragma weak __divsi3 #pragma weak __moddi3 #pragma weak __modsi3 -#ifndef __UNIXOS2__ #pragma weak __mul64 -#endif #pragma weak __muldf3 #pragma weak __muldi3 #pragma weak __mulsf3 @@ -358,9 +348,6 @@ _X_HIDDEN void *xfree86LookupTab[] = { SYMFUNC(xf86FindScreenForEntity) SYMFUNC(xf86FindPciDeviceVendor) SYMFUNC(xf86FindPciClass) -#ifdef INCLUDE_DEPRECATED - SYMFUNC(xf86EnablePciBusMaster) -#endif SYMFUNC(xf86RegisterStateChangeNotificationCallback) SYMFUNC(xf86DeregisterStateChangeNotificationCallback) SYMFUNC(xf86NoSharedResources) @@ -719,15 +706,6 @@ _X_HIDDEN void *xfree86LookupTab[] = { SYMFUNC(DPMSSet) SYMFUNC(DPMSSupported) #endif -/* xf86Debug.c */ -#ifdef BUILDDEBUG - SYMFUNC(xf86Break1) - SYMFUNC(xf86Break2) - SYMFUNC(xf86Break3) - SYMFUNC(xf86SPTimestamp) - SYMFUNC(xf86STimestamp) -#endif - SYMFUNC(pciFindFirst) SYMFUNC(pciFindNext) SYMFUNC(pciWriteByte) @@ -1066,7 +1044,7 @@ _X_HIDDEN void *xfree86LookupTab[] = { # endif #endif #if defined(__GNUC__) -#if !defined(__UNIXOS2__) && !defined(Lynx) +#if !defined(Lynx) SYMFUNC(__div64) #endif #if !defined(Lynx) /* FIXME: test on others than x86 and !3.1.0a/x86 */ @@ -1081,7 +1059,7 @@ _X_HIDDEN void *xfree86LookupTab[] = { #if !defined(Lynx) SYMFUNC(__modsi3) #endif -#if !defined(__UNIXOS2__) && !defined(Lynx) +#if !defined(Lynx) SYMFUNC(__mul64) #endif #if !defined(Lynx) @@ -1140,13 +1118,6 @@ _X_HIDDEN void *xfree86LookupTab[] = { SYMVAR(xf86Screens) SYMVAR(byte_reversed) SYMVAR(xf86inSuspend) - /* debugging variables */ -#ifdef BUILDDEBUG - SYMVAR(xf86p8bit) - SYMVAR(xf86DummyVar1) - SYMVAR(xf86DummyVar2) - SYMVAR(xf86DummyVar3) -#endif /* predefined resource lists from xf86Bus.h */ SYMVAR(resVgaExclusive) |