xserver-multidpi/os
Mikhail Gusarov e983848ab4 Clean {X,XNF}{alloc,calloc,realloc,free,strdup} from pre-C89 baggage
C89 guarantees alignment of pointers returned from malloc/calloc/realloc, so
stop fiddling with alignment manually and just pass the arguments to library
functions.

Also convert silent error when negative size is passed into function into
warning in log file.

Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-05-13 00:20:32 +07:00
..
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
access.c Constify function prototypes in auth & xdmcp code 2010-05-07 12:22:58 -07:00
auth.c Constify function prototypes in auth & xdmcp code 2010-05-07 12:22:58 -07:00
backtrace.c Miscellaneous compilation warning fixes 2009-12-08 15:50:28 -08:00
connection.c XQuartz: Fix possible NULL dereference in ListenOnOpenFD 2010-04-15 10:57:03 -07:00
io.c os: silence bigreqsproto compiler warning 2009-09-04 12:51:02 +10:00
log.c darwin: Correct inline assembly for ___crashreporter_info__ 2010-04-01 15:32:51 -07:00
Makefile.am os: Prevent backtrace from being stopped in noreturn functions. 2010-03-25 06:03:43 +01:00
mitauth.c Constify function prototypes in auth & xdmcp code 2010-05-07 12:22:58 -07:00
oscolor.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
osdep.h Constify function prototypes in auth & xdmcp code 2010-05-07 12:22:58 -07:00
osinit.c linux: Yet more malloc() avoidance for backtrace() 2009-08-20 15:43:55 -04:00
rpcauth.c Constify function prototypes in auth & xdmcp code 2010-05-07 12:22:58 -07:00
strcasecmp.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
strcasestr.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
strlcat.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
strlcpy.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
utils.c Clean {X,XNF}{alloc,calloc,realloc,free,strdup} from pre-C89 baggage 2010-05-13 00:20:32 +07:00
WaitFor.c Update to xextproto 7.0.99.1. 2009-07-15 17:00:05 +10:00
xdmauth.c Constify function prototypes in auth & xdmcp code 2010-05-07 12:22:58 -07:00
xdmcp.c Constify function prototypes in auth & xdmcp code 2010-05-07 12:22:58 -07:00
xprintf.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xsha1.c SHA1: Add support for Common Crypto 2009-11-05 18:34:50 -08:00
xstrans.c Change HAVE_CONFIG_H to HAVE_DIX_CONFIG_H. 2005-07-03 12:16:29 +00:00