xserver-multidpi/hw/xfree86/loader
Alan Coopersmith e4dcf580f0 LoaderOpen returns either a valid pointer or NULL, so don't check for < 0
Fixes Sun cc warning that was recently elevated to error by the
stricter default CFLAGS changes to xorg-macros:

"loadmod.c", line 914: improper pointer/integer combination: op "<"

Should have been changed when commit ab7f057ce9 changed the
LoaderOpen return type from int to void *.

Changes log message when file is found but dlopen() fails from:
 (EE) LoadModule: Module dbe does not have a dbeModuleData data object.
 (EE) Failed to load module "dbe" (invalid module, 0)
to:
 (EE) Failed to load module "dbe" (loader failed, 7)

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
2011-12-05 14:33:00 -08:00
..
loader.c Remove SCO support 2010-12-20 12:11:11 -05:00
loader.h loader: Remove a silly layer of reference counting 2010-09-22 10:57:12 -04:00
loaderProcs.h loader: Remove a silly layer of reference counting 2010-09-22 10:57:12 -04:00
loadext.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
loadmod.c LoaderOpen returns either a valid pointer or NULL, so don't check for < 0 2011-12-05 14:33:00 -08:00
Makefile.am xfree86: Move sdksyms generation to ddx toplevel 2011-06-23 05:28:31 -07:00
os.c Remove SCO support 2010-12-20 12:11:11 -05:00