xfs: Changes to 'master'
Alan Coopersmith
alanc at kemper.freedesktop.org
Tue Sep 20 16:11:20 PDT 2011
configure.ac | 3 ++-
difs/cache.c | 2 +-
difs/difsutils.c | 10 +++++-----
difs/resource.c | 4 ++--
include/difsutils.h | 2 +-
include/os.h | 11 ++++++-----
os/config.c | 4 ++--
os/configstr.h | 2 +-
os/error.c | 10 +++++-----
os/osglue.c | 6 +++---
os/utils.c | 4 ++--
11 files changed, 30 insertions(+), 28 deletions(-)
New commits:
commit fd9d549b9e480826f8d3a22665a26977c573c0c4
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Fri Sep 16 20:33:36 2011 -0700
Add _X_NORETURN to declarations of functions that exit
While you might think FatalError() also should have _X_NORETURN, if
you add it, you will find that gcc warns you that it does indeed
return when built with syslog support. Why syslog makes all fatal
errors become non-fatal is an excellent question to ponder...
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit cee4aafcd5ebef34cae02f2215663df6c8551a20
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Fri Sep 16 19:36:02 2011 -0700
Fix warnings about mismatched printf arg types
Mostly from types defined as long or unsigned long which we tried to
print as normal ints.
difs/cache.c: In function `CacheFreeMemory':
difs/cache.c:371: warning: int format, different type arg (arg 2)
difs/resource.c: In function `AddResource':
difs/resource.c:304: warning: unsigned int format, different type arg (arg 2)
difs/resource.c:304: warning: unsigned int format, different type arg (arg 3)
difs/resource.c:304: warning: unsigned int format, pointer arg (arg 4)
difs/resource.c: In function `FreeResource':
difs/resource.c:410: warning: unsigned int format, different type arg (arg 2)
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit 8b426f8a15b5f2e6268438d2e0505fdbf8c64aeb
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Fri Sep 16 19:11:53 2011 -0700
Add _X_ATTRIBUTE_PRINTF to error reporting functions
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit c57e65406a7447930f701a319ba518acf9b4b5d3
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Fri Sep 16 19:10:04 2011 -0700
Fix gcc -Wwrite-strings warnings for initialization with string literals
Many warnings of the form:
os/config.c:92:5: warning: initialization discards qualifiers from pointer target type
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit 12463ed04068716ef8e9cf53eddaf8e78d0688dd
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Fri Sep 16 19:23:30 2011 -0700
Remove dependency on libFS, the client-side library
xfs doesn't include <X11/fonts/FSlib.h> nor call any functions from the
library, which is not surprising, as that's the library containing the
client-side code for connecting to a font server such as xfs.
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Reviewed-by: Gaetan Nadon <memsize at videotron.ca>
More information about the xorg-commit
mailing list