summaryrefslogtreecommitdiff
path: root/usr/src/ucbhead
diff options
context:
space:
mode:
authorRichard Lowe <richlowe@richlowe.net>2012-04-14 20:29:22 -0400
committerRichard Lowe <richlowe@richlowe.net>2012-06-14 15:56:15 -0400
commit6a3e8e8695d5c7d1d18c6800d676990d7f61a2a4 (patch)
tree0779c36aa010ab283c6d8df98bdb87909bf11d3a /usr/src/ucbhead
parenta3477ee4728af4a4c3c6869e248aa735d52cbefb (diff)
downloadillumos-joyent-6a3e8e8695d5c7d1d18c6800d676990d7f61a2a4.tar.gz
1450 Illumos should be buildable with GCC4
Reviewed by: Joshua M. Clulow <josh@sysmgr.org> Reviewed by: Keith Wesolowski <keith.wesolowski@joyent.com> Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Albert Lee <trisk@nexenta.com> Approved by: Gordon Ross <gwr@nexenta.com>
Diffstat (limited to 'usr/src/ucbhead')
-rw-r--r--usr/src/ucbhead/setjmp.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/usr/src/ucbhead/setjmp.h b/usr/src/ucbhead/setjmp.h
index 1757f760fb..a5d5a70478 100644
--- a/usr/src/ucbhead/setjmp.h
+++ b/usr/src/ucbhead/setjmp.h
@@ -47,8 +47,6 @@
#ifndef _SETJMP_H
#define _SETJMP_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/types.h>
#include <sys/signal.h>
#include <sys/ucontext.h>
@@ -110,21 +108,21 @@ typedef long sigjmp_buf[_SIGJBLEN];
#if defined(__STDC__)
-extern int _sigsetjmp(sigjmp_buf, int);
+extern int _sigsetjmp(sigjmp_buf, int) __RETURNS_TWICE;
#pragma unknown_control_flow(_sigsetjmp)
extern void _siglongjmp(sigjmp_buf, int) __NORETURN;
-extern int sigsetjmp(sigjmp_buf, int);
+extern int sigsetjmp(sigjmp_buf, int) __RETURNS_TWICE;
#pragma unknown_control_flow(sigsetjmp)
extern void siglongjmp(sigjmp_buf, int) __NORETURN;
#else
-extern int _sigsetjmp();
+extern int _sigsetjmp() __RETURNS_TWICE;
#pragma unknown_control_flow(_sigsetjmp)
extern void _siglongjmp();
-extern int sigsetjmp();
+extern int sigsetjmp() __RETURNS_TWICE;
#pragma unknown_control_flow(sigsetjmp)
extern void siglongjmp();