[PATCH 0/5] Configuration cleanup and warning fixes
Alan Coopersmith
alan.coopersmith at oracle.com
Fri Dec 2 10:48:11 PST 2011
Started cleaning up some of our libc fallback function checks in configure
and the more I cleaned the more layers of crud I found underneath.
Also silences some annoying warning noise from gcc, and two warnings
from the Sun compiler that the recent changes to xorg-macros had promoted
to errors, causing builds to fail with that compiler.
This does export the HAVE_FFS, HAVE_STRNDUP, etc. definitions to drivers,
but if you built the Xserver with a libc that had those, and then build
the drivers with a less capable libc, you're going to have problems anyway,
and this should solve some reported problems with conflicts between our
strndup definition and gcc magic for it.
Alan Coopersmith (5):
Remove unused function checks from configure.ac & include/*.h.in
Move to autoconf standard function name checks & defines
Fix gcc warnings about redundant declarations of fallback functions
LoaderOpen returns either a valid pointer or NULL, so don't check for
< 0
Add dummy return 0 to Xnest & Xephyr io error handler for Sun
compilers
configure.ac | 41 ++++-----------------
hw/dmx/config/Makefile.am | 3 --
hw/kdrive/ephyr/hostx.c | 3 ++
hw/vfb/InitOutput.c | 26 +++++++-------
hw/xfree86/loader/loadmod.c | 2 +-
hw/xfree86/xaa/xaaTables.c | 3 ++
hw/xnest/Display.c | 3 ++
hw/xwin/win.h | 4 +-
include/dix-config.h.in | 85 +++++++++++++++----------------------------
include/dix.h | 2 +
include/os.h | 8 ++--
include/xkb-config.h.in | 3 --
include/xorg-server.h.in | 21 +++++++++++
include/xwin-config.h.in | 3 --
mi/mibitblt.c | 2 +-
os/Makefile.am | 16 +-------
os/access.c | 28 +++++++-------
os/connection.c | 6 ++--
os/osdep.h | 6 ---
os/strcasecmp.c | 4 +-
os/strcasestr.c | 2 +-
os/strlcpy.c | 2 +
22 files changed, 113 insertions(+), 160 deletions(-)
--
1.7.3.2
More information about the xorg-devel
mailing list