Module Name: xsrc Committed By: apb Date: Thu Nov 8 08:51:07 UTC 2012
Modified Files: xsrc/external/mit/xcb-util/dist/atom: atoms.c Log Message: Mark inline function in_word_set(str, len) as static. The function uses a static variable (stringpool_contents) and this is not allowed in an inline function with external linkage. This change in xsrc/external/mit/xorg/lib/xcb-util/atom/atoms.c is identical to a recent change in src/external/mit/xorg/lib/xcb-util/atom/atoms.c where the problem was found by clang -Wstatic-in-inline. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 xsrc/external/mit/xcb-util/dist/atom/atoms.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: xsrc/external/mit/xcb-util/dist/atom/atoms.c diff -u xsrc/external/mit/xcb-util/dist/atom/atoms.c:1.1.1.1 xsrc/external/mit/xcb-util/dist/atom/atoms.c:1.2 --- xsrc/external/mit/xcb-util/dist/atom/atoms.c:1.1.1.1 Sat Jul 17 20:28:32 2010 +++ xsrc/external/mit/xcb-util/dist/atom/atoms.c Thu Nov 8 08:51:07 2012 @@ -322,6 +322,7 @@ static const struct stringpool_t stringp "SECONDARY" }; #define stringpool ((const char *) &stringpool_contents) +static #ifdef __GNUC__ __inline #ifdef __GNUC_STDC_INLINE__