Print this page
remove support for non-ANSI compilation
@@ -20,12 +20,13 @@
* CDDL HEADER END
*/
/* Copyright (c) 1988 AT&T */
/* All Rights Reserved */
-
/*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
@@ -85,30 +86,17 @@
#endif
#else
#error "ISA not supported"
#endif
-#if defined(__STDC__)
-
extern int setjmp(jmp_buf) __RETURNS_TWICE;
#pragma unknown_control_flow(setjmp)
extern int _setjmp(jmp_buf) __RETURNS_TWICE;
#pragma unknown_control_flow(_setjmp)
extern void longjmp(jmp_buf, int) __NORETURN;
extern void _longjmp(jmp_buf, int) __NORETURN;
-#else
-
-extern int setjmp() __RETURNS_TWICE;
-#pragma unknown_control_flow(setjmp)
-extern int _setjmp() __RETURNS_TWICE;
-#pragma unknown_control_flow(_setjmp)
-extern void longjmp();
-extern void _longjmp();
-
-#endif /* __STDC__ */
-
#if __cplusplus >= 199711L
}
#endif /* end of namespace std */
#if __cplusplus >= 199711L