-
SVR3/sysv support had been removed 13 years ago, but there still was some fallout left. The symbol HAS_SVR3_MMAPDRV never had been set by autoconf, let alone meson, so this piece of code is really dead. Fixes: 6ce1908b Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1414>
bfcc7726 -
Since meson transition, we can't build on Solaris older than v7 (which came out 1998), so no need for extra quirks. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1414>
1073ca2b -
The sun_vid.c driver seems to be the only actual consumer left, so it can be dropped from public headers and moved to sun_vid.c instead. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <xorg/xserver!1414>
dee16edd -
This doesn't seem to be needed anymore, probably a left over from migration to libpciaccess. So it can be removed now. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <xorg/xserver!1415>
786f7ceb -
miScreenDevPrivateInit() is also made static in this commit. Part-of: <xorg/xserver!854>
aa3f5023 -
This allows pScreen->{width,height} to be changed to smaller values after miScreenInit() is called but before pScreen is further set up / used by dix, so that the screen size can be fit to the mode of choice even when it does not have the maximum width and/or height among its peers. XGetImage() for one will fail once the screen is change back to a bigger size with xrandr, which prevents e.g. x11vnc to work on the server. Part-of: <xorg/xserver!854>
7c5b5642 -
Not used anymore, was forgotten to be removed. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1260>
95706a5f -
these m4 macros had been used for autotools-based build system. But since this had been replaced by meson, these files are obsolete now. Fixes: c97397dc Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <xorg/xserver!1260>
887fc712 -
Clean up a yet some more stale leftovers. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1260>
eac10cf1 -
Compiler warning: [7/29] Compiling C object hw/xnest/Xnest.p/Display.c.o In file included from ../include/misc.h:119, from ../include/screenint.h:50, from ../hw/xnest/Display.c:24: ../hw/xnest/Display.c: In function ‘xnestOpenDisplay’: ../include/os.h:81:32: warning: argument 2 range [2147483648, 4294967295] exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 81 | #define xallocarray(num, size) reallocarray(NULL, (num), (size)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../hw/xnest/Display.c:124:29: note: in expansion of macro ‘xallocarray’ 124 | xnestDefaultColormaps = xallocarray(xnestNumDefaultColormaps, | ^~~~~~~~~~~ In file included from ../include/os.h:54: /usr/include/stdlib.h:582:14: note: in a call to allocation function ‘reallocarray’ declared here 582 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ Since we really don't need more than 2^16 colormaps, using uint16_t here to silence this warning. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1392>
57254ca2 -
Sometimes getting NoExpose event from upstream xserver, where we've got nothing actually to do. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1399>
b15f0204 -
For cleaner code, make sure every source needing something from Xdefs.h does explicitly include it (not relying on indirect including) Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1394>
737c316a -
It's cleaner to include explicitly instead of relying on indirect includes, thus adding a few more on X.h. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1394>
2cc5c572 -
When getting an unhandled event from upstream Xserver, a warning is printed, but it doesn't tell which one yet. Just printing it's ID should be good enough for now - it's already a good help for debugging. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1398>
8516bbe4 -
These aren't used by any drivers, so no need to keep them around in the public driver API. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1326>
3843a643 -
Since we're not using C++ code, thus no trouble w/ name mangling, we don't need explicit extern "C" { ... } sections in the code. (If we would, we have to have it in many other places, too) Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1331>
045c9185 -
The header uses macros from Xfuncproto.h - right now it just works by pure accident since consumers of this header indirectly include Xfuncproto.h by totally different roads. This is a fragile programming style that deserved to be cleand up. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1331>
84407af6 -
this header is isn't public, so it's more appropriate, where the actual code is, which is the os/ directory. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1337>
dae76bba -
These functions shouldn't be called by drivers or extensions, thus shouldn't be exported. Also moving it to separate header, so the already huge ones aren't cluttered with even more things. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1334>
389b5282 -
This function is only used by DIX, so no need to export it. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1344>
cbc9f557 -
these functions aren't used by modules, so no need to export them. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1344>
5f19eab1 -
These aren't used by modules, so no need to export them. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1344>
b00fdd48 -
these aren't used by modules, so no need to export them. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1344>
54441ff9 -
these aren't used by module, so no need to export them. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1344>
e621081f -
this function is only used by wayland ddx, so no need to export it. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1344>
bed778ee -
Those aren't used by modules, thus no need to export them. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1344>
5a9b8851 -
these aren't used by modules/drivers, so no need to export them. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1344>
3f00c1b6 -
this function isn't used by modules/drivers, so no need to export it. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1344>
dd21a802 -
This function is only used internally for xdmcp auth handling, not used in modules/drivers, so no need to export it. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1344>
cf5fab0b -
These seem to be unused for *long* time - couldn't even trace it back in git history. Also not used by any known driver. Time to get rid of them. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1364>
62d3114a -
This function isn't used by drivers and there's currently no need to do so, thus keep it out of the public module API. Fixes: 30ac7567 Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1368>
3b7a63e6 -
Move non-exported gc functions to private header No need to clutter public headers with non-exported stuff. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1365>
46c0ac8c -
Not used by any drivers, so no need to export it. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1365>
68963964 -
Not used by any driver, so no need to export it. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1365>
7e30f2c8 -
Not used by any driver, so no need to export it. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1365>
32512c57 -
Not used by any driver, so no need to export it. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1365>
fc1a7363 -
Not used by any driver, so no need to export it. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1365>
bdf8ae3f -
Not used by any driver, so no need to export it. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1365>
f6af3799 -
Not used by any driver, so no need to export it. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1365>
30670e72 -
Not used by any driver, so no need to export it. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1365>
407fe604 -
Not used by any driver, so no need to export it. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1365>
9a8e6c5b -
Not used by any driver, so no need to export it. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1365>
2b7a2f8e -
It's an internal function, only used by DIX, not by drivers and shouldn't have been exported in the first place. Fixes: 49f77fff Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1373>
6cb599f5 -
This function is only used by DIX and not os-specific at all. So move it over to DIX and give it a more fitting name. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1373>
1999785f -
This function isn't used by any drivers, so no need to export it. Also has just one consumer, so move it there and make it static. (and also move ISOLatin1ToLower() along with it) Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1374>
ad7e7d92 -
Not used by any driver, so no need to export it. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1377>
1205f5b6 -
This pointer allows a DDX to install it's own error print handler. It's really only intended for DDXes, thus no need to have it exported to modules. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1369>
76d01e9b -
Not used by any drivers, so no need to export it. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1378>
b064b791 -
Not used by any driver, so no need to export it. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <xorg/xserver!1379>
dfdde279 -
These aren't used by any drivers, so no need to export them. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1380>
d444cd42 -
It's only used by dix internally (actually just dixfonts.c - since at least 25 years now), thus no need to keep it in global include directory. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1388>
f789dca4 -
Windows' native headers using some our RT_* define's names for other things. Since the naming isn't very nice anyways, introducing some new ones (X11_RESTYPE_NONE, X11_RESTYPE_FONT, X11_RESTYPE_CURSOR) and define the old ones as an alias to them, in case some out-of-tree code still uses them. With thins change, we don't need to be so extremely careful about include ordering and have explicit #undef's in order to prevent name clashes on Win32 targets. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <xorg/xserver!1355>
232cad9e -
The problem is, ming32 headers unconditionally define CreateWindow() to alias CreateWindowA() in winuser.h, which is included by windows.h, which is included by *a lot* common headers. So it highly depends on the exact include order, whether it works. (also weird things could happen, e.g. the Xserver's CreateWindow() ending up renamed to CreateWindowA(), ...) Until we've found a really clean solution to this problem (which might involve fixing mingw32 first), just add a little workaround by undef'ing CreateWindow symbol whereever necessary. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1355>
1ca48d0a -
Since we already had to rename some of them, in order to fix name clashes on win32, it's now time to rename all the remaining ones. The old ones are still present as define's to the new ones, just for backwards compatibility. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <xorg/xserver!1355>
85d4bd0d -
Enrico Weigelt, metux IT consult . authored
busfault.h is using FALSE, but didn't include misc.h, so it really depends on include order whether it works. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1381>
3aa62ca6 -
Enrico Weigelt, metux IT consult . authored
These aren't called (and suited for being called) by drivers, thus drop them from the public module API. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <xorg/xserver!1381>
be4c8444 -
Not used by any drivers, so no need to export them. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1384>
4c179570 -
Not used by any drivers, so no need to export it. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <xorg/xserver!1385>
d18ef330 -
It's just called by DIX, not by any drivers/modules, so no need to export it. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1387>
a0b69624 -
The code pieces inside `ifdef DoSubModule` aren't used anymore since very long time. There's no evidence of this symbol ever been set in the whole git history, so it must be an really ancient relic, that nobody used for decades. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1400>
e37bcac1 -
This had been introduced almost two decades ago, by Dave Airlie (*1) along with some major IO speed improvement, just in case some driver still needed the old behaviour - in that case it would call xf86SetReallySlowBcopy(), so xf86SlowBcopy() would fall back to the old approach emitting an extra outb() on debug port, in order to slow things down more. Now aeons have passed and there doesn't seem to be any actual user for this, so it's time to drop that ancient relic. *1) commit e717eb82 Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1402>
ba870af8 -
This function doesn't seem to be used anymore, neither inside the xserver, nor by any drivers - so it can be dropped. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1404>
a1c1f8b9 -
Found no evidence that this define is practically used anywhere, aymore. Web research just showed up a single ancient .c file (looks like an Wacom driver) from 1998. Xserver's git history doesn't tell when it actually had been introduced. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1408>
97e26532 -
Enrico Weigelt, metux IT consult . authored
Instead of relying on very indirect includes, it's more more clean when everybody explicitly includes what he really needs. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1417>
5057c716 -
Simon Ser authored
Saves us the repetition. Signed-off-by:
Simon Ser <contact@emersion.fr> Part-of: <!1491>
d1fe5293 -
Otherwise the executable cannot be found where specified. v2: Use 'xwayland_path' (Simon) Fixes: fbf5e26b - xwayland: Use full path for Xwayland exec Signed-off-by:
Olivier Fourdan <ofourdan@redhat.com> Part-of: <!1490>
8ff88ffe -
Use the target name instead of hardcoding the 'Xwayland' executable name, along with the / operator. Signed-off-by:
Olivier Fourdan <ofourdan@redhat.com> Part-of: <!1490>
41c3155f -
This function is only intended for DDX'es (currently just Xwayland) that need to force using another clock. Really shouldn't be called by drivers or extensions. Fixes: a779fda2 Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1333>
c17c527b -
Since this define is only used inside os subdir, move the definition there and out of the global config header. This also makes some further steps, e.g. checking whether it's supported, a litle bit easier. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <xorg/xserver!1441>
d2d3f4a7 -
Some platforms (eg. NetBSD) don't have DES support in rpc anymore, so we should check, in order to prevent weird, hard to understand build breaks. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1441>
339717ba -
Add support `auto` mode, which only enables secure-rpc when dependencies are met. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <xorg/xserver!1441>
620b678c -
Fix warnings: ../hw/xfree86/os-support/bsd/bsd_init.c ../hw/xfree86/os-support/bsd/bsd_init.c:91:5: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | "pccons (with X support)", | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../hw/xfree86/os-support/bsd/bsd_init.c:97:5: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | "pcvt", | ^~~~~~ ../hw/xfree86/os-support/bsd/bsd_init.c:100:5: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 100 | "wscons", | ^~~~~~~~ ../hw/xfree86/os-support/bsd/bsd_init.c:462:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 462 | vtprefix = "/dev/ttyv"; | ^ ../hw/xfree86/os-support/bsd/bsd_init.c:471:18: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 471 | vtprefix = "/dev/ttyE"; | ^ Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1446>
6eea4f0b -
The label is only used on FreeBSD, so compiling on NetBSD gives a warning on unused label. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1447>
8ce76acd -
Make sure everybody who needs stuff from <sys/mman.h> actually includes it, and dropped the include from xf86_OSlib.h. Check for all symbols defined by Open Group spec. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <xorg/xserver!1412>
e2fa0d2a -
These aren't called by drivers/modules, so no need to export them. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1456>
7aa3fa54 -
This function is only internal to xfree86 DDX, not used by any drivers, thus no need to export it. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1456>
b9569f1e -
This is just called by xfree86 core, not by any drivers, thus no need to export it. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1456>
38030fce -
It's not used in any drivers, so no need to export it. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1456>
3e4fc3e5 -
It's not used by any driver, so no need to export it. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1456>
a5cfe020 -
This function isn't exported at all, so it better fits into xf86_os_support.h, whose purpose is being the primary entry point into os-support layer. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1456>
533c45e5 -
This type is only used inside the os-support layer of xfree86, so it fits better into xf86_os_support.h, whose purpose is being the primary entry point into os-support layer. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1456>
5b23578f -
It's cleaner to have public headers only holding public stuff and xf86_os_support seems to be much more appropriate place for this. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1456>
16a3790d -
This macro is only used inside xfree86's os-support layer, not by any (known) drivers. Thus no need to have it exported in the public API. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1456>
7429f8ee -
These aren't exported at all, so no need to have it in public header. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1456>
0f715b4c -
fix warning on duplicate typedef: > ../composite/compositeext_priv.h:11:25: warning: redefinition of typedef 'ScreenPtr' is a C11 feature [-Wtypedef-redefinition] > typedef struct _Screen *ScreenPtr; > ^ > ../include/screenint.h:55:25: note: previous definition is here > typedef struct _Screen *ScreenPtr; > ^ Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <xorg/xserver!1430>
a532c932 -
Fix warning on unused function: > ../hw/xfree86/modes/xf86Cursors.c:212:1: warning: unused function 'xf86_driver_has_show_cursor' [-Wunused-function] > xf86_driver_has_show_cursor(xf86CrtcPtr crtc) > ^ Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1428>
20d0545f -
Fix warnings on missing prototypes: > ../hw/xfree86/os-support/bsd/bsd_VTsw.c:56:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > xf86VTSwitchPending() > ^ > void > ../hw/xfree86/os-support/bsd/bsd_VTsw.c:67:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > xf86VTSwitchAway() > ^ > void > ../hw/xfree86/os-support/bsd/bsd_VTsw.c:82:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > xf86VTSwitchTo() > ^ > void > ../hw/xfree86/os-support/bsd/bsd_init.c:155:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > xf86OpenConsole() > ^ > void > ../hw/xfree86/os-support/bsd/bsd_init.c:322:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > xf86OpenPccons() > ^ > void > ../hw/xfree86/os-support/bsd/bsd_init.c:347:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > xf86OpenSyscons() > ^ > void > ../hw/xfree86/os-support/bsd/bsd_init.c:453:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > xf86OpenPcvt() > ^ > void > ../hw/xfree86/os-support/bsd/bsd_init.c:596:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > xf86CloseConsole() > ^ > void > ../hw/xfree86/os-support/bsd/bsd_init.c:673:11: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > xf86UseMsg() > ^ > void Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1428>
1e7085d1 -
fix warning on unused function: > ../hw/xfree86/x86emu/sys.c:69:1: warning: unused function 'ldq_u' [-Wunused-function] > ldq_u(u64 * p) > ^ > ../hw/xfree86/x86emu/sys.c:95:1: warning: unused function 'stq_u' [-Wunused-function] > stq_u(u64 val, u64 * p) > ^ Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1428>
8081fe12 -
fix warning on unused function: > ../hw/xfree86/x86emu/sys.c:87:1: warning: unused function 'stq_u' [-Wunused-function] > stq_u(u64 val, u64 * p) > ^ Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1428>
a0daa6f1 -
fix warning: > In file included from ../hw/xfree86/int10/x86emu.c:11: > ../hw/xfree86/x86emu/prim_ops.c:2478:9: warning: taking the absolute value of unsigned type 'x86emuu32' (aka 'unsigned int') has no effect [-Wabsolute-value] > if (abs(div) > 0xff) { > ^ > ../hw/xfree86/x86emu/prim_ops.c:2478:9: note: remove the call to 'abs' since unsigned values cannot be negative > if (abs(div) > 0xff) { > ^~~ > ../hw/xfree86/x86emu/prim_ops.c:2502:9: warning: taking the absolute value of unsigned type 'x86emuu32' (aka 'unsigned int') has no effect [-Wabsolute-value] > if (abs(div) > 0xffff) { > ^ > ../hw/xfree86/x86emu/prim_ops.c:2502:9: note: remove the call to 'abs' since unsigned values cannot be negative > if (abs(div) > 0xffff) { > ^~~ Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <xorg/xserver!1428>
43f47e8e
- Xext/dpms.c 1 addition, 1 deletionXext/dpms.c
- Xext/panoramiX.c 4 additions, 1 deletionXext/panoramiX.c
- Xext/panoramiXprocs.c 4 additions, 1 deletionXext/panoramiXprocs.c
- Xext/saver.c 16 additions, 15 deletionsXext/saver.c
- Xext/security.c 9 additions, 7 deletionsXext/security.c
- Xext/shape.c 7 additions, 4 deletionsXext/shape.c
- Xext/shm.c 16 additions, 12 deletionsXext/shm.c
- Xext/sleepuntil.c 2 additions, 2 deletionsXext/sleepuntil.c
- Xext/sync.c 19 additions, 17 deletionsXext/sync.c
- Xext/xselinux_ext.c 2 additions, 0 deletionsXext/xselinux_ext.c
- Xext/xselinux_hooks.c 3 additions, 3 deletionsXext/xselinux_hooks.c
- Xext/xselinux_label.c 4 additions, 4 deletionsXext/xselinux_label.c
- Xext/xtest.c 8 additions, 5 deletionsXext/xtest.c
- Xext/xvdisp.c 5 additions, 3 deletionsXext/xvdisp.c
- Xext/xvmc.c 3 additions, 3 deletionsXext/xvmc.c
- Xi/chgprop.c 4 additions, 3 deletionsXi/chgprop.c
- Xi/closedev.c 1 addition, 1 deletionXi/closedev.c
- Xi/exevents.c 9 additions, 9 deletionsXi/exevents.c
- Xi/getprop.c 5 additions, 3 deletionsXi/getprop.c
- Xi/getselev.c 3 additions, 1 deletionXi/getselev.c