Print this page
remove support for non-ANSI compilation

*** 20,31 **** * CDDL HEADER END */ /* Copyright (c) 1988 AT&T */ /* All Rights Reserved */ - /* * Copyright 2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ /* --- 20,32 ---- * 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,114 **** #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 --- 86,102 ----