* Removed the autoconf check for __attribute__((noreturn)) and used plain

C checks.


git-svn-id: svn://svn.zoy.org/elk/trunk@105 55e467fa-43c5-0310-a8a2-de718669efc6
This commit is contained in:
sam
2003-09-06 12:33:55 +00:00
parent acf7f7ddab
commit 971eae3c27
9 changed files with 45 additions and 78 deletions
+2 -7
View File
@@ -36,13 +36,8 @@
#include "kernel.h"
#ifdef HAVE_ATTRIBUTE_NORETURN
void Reset () __attribute__ ((__noreturn__));
void Err_Handler () __attribute__ ((__noreturn__));
#else
void Reset ();
void Err_Handler ();
#endif
void Reset () elk_attribute(__noreturn__);
void Err_Handler () elk_attribute(__noreturn__);
Object Arg_True;
+1 -5
View File
@@ -34,11 +34,7 @@
#include "kernel.h"
#ifdef HAVE_ATTRIBUTE_NORETURN
extern void Reset () __attribute__ ((__noreturn__));
#else
extern void Reset ();
#endif
extern void Reset () elk_attribute(__noreturn__);
int Intr_Was_Ignored;
unsigned long int Intr_Level;
+1 -5
View File
@@ -122,11 +122,7 @@ void Exit_Handler () {
#ifndef HAVE_ATEXIT
/* Hack: __GNUC_MINOR__ was introduced together with __attribute__ */
#ifdef __GNUC_MINOR__
#ifdef HAVE_ATTRIBUTE_NORETURN
extern void _exit() __attribute__ ((noreturn));
#else
extern void _exit();
#endif
extern void _exit() elk_attribute(__noreturn__);
#endif
#ifndef PROFILING
void exit (n) {
+1 -5
View File
@@ -57,12 +57,8 @@
extern void Switch_Environment (Object);
extern unsigned int Stack_Size ();
extern void Uncatchable_Error (char *);
#ifdef HAVE_ATTRIBUTE_NORETURN
extern void Funcall_Control_Point (Object, Object, int)
__attribute__ ((__noreturn__));
#else
extern void Funcall_Control_Point (Object, Object, int);
#endif
elk_attribute(__noreturn__);
extern void Pop_Frame ();
extern void Push_Frame (Object);
+1 -5
View File
@@ -54,11 +54,7 @@ extern char *index();
extern double atof();
int Skip_Comment (Object);
#ifdef HAVE_ATTRIBUTE_NORETURN
void Reader_Error (Object, char *) __attribute__ ((__noreturn__));
#else
void Reader_Error (Object, char *);
#endif
void Reader_Error (Object, char *) elk_attribute(__noreturn__);
Object Sym_Quote,
Sym_Quasiquote,