summaryrefslogtreecommitdiff
path: root/renderscope.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-12-04 09:04:50 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-12-04 09:04:54 -0800
commita66cdfd0978015c2f3eedc968a40637f850aa917 (patch)
treec83ac3e5bd0fcf5910831238b8842500f6e40054 /renderscope.h
parent26a18245264f88214101fef27f4acc7806a469a4 (diff)
Fix builds of scope.c with Solaris Studio compilers
Required in order to build with Studio cc now that xorg-macros is setting -errwarn=E_FUNC_HAS_NO_RETURN_STMT since a bug in the Solaris system headers causes the noreturn attribute to not be correctly applied to the exit() prototype in <stdlib.h> when building with Studio instead of gcc. Otherwise compiler exits with error: "scope.c", line 643: Function has no return statement : CMDQuit Uses Studio-specific pragma instead of adding another exit() prototype with a noreturn attribute to avoid causing gcc to warn about having a redundant prototype for the exit() function. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'renderscope.h')
0 files changed, 0 insertions, 0 deletions