summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-04-09 23:53:06 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-04-09 23:53:06 +0200
commit51fc12171a5e9510e9eb60dc838473c3b352fee8 (patch)
treede10e74bb6d12152e555f3026d449fa77b6e6a53 /m4
parentc552e457732c3c7b84b66ed8548713be52561487 (diff)
downloadxine-lib-51fc12171a5e9510e9eb60dc838473c3b352fee8.tar.gz
xine-lib-51fc12171a5e9510e9eb60dc838473c3b352fee8.tar.bz2
format_arg attribute requires the function to return char*.
Diffstat (limited to 'm4')
-rw-r--r--m4/attributes.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/attributes.m4 b/m4/attributes.m4
index eaa788c5f..55f34c9f7 100644
--- a/m4/attributes.m4
+++ b/m4/attributes.m4
@@ -119,7 +119,7 @@ AC_DEFUN([CC_ATTRIBUTE_FORMAT_ARG], [
AC_CACHE_CHECK([if compiler supports __attribute__((format_arg(printf)))],
[cc_cv_attribute_format_arg],
[AC_COMPILE_IFELSE([
- void __attribute__((format_arg(1))) gettextlike(const char *fmt) { fmt = (void *)0; }
+ char *__attribute__((format_arg(1))) gettextlike(const char *fmt) { fmt = (void *)0; }
],
[cc_cv_attribute_format_arg=yes],
[cc_cv_attribute_format_arg=no])