Print this page
remove support for non-ANSI compilation
@@ -22,10 +22,12 @@
/* Copyright (c) 1988 AT&T */
/* All Rights Reserved */
/*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
* Copyright (c) 1998-1999, by Sun Microsystems, Inc.
* All rights reserved.
*/
/*
@@ -41,13 +43,10 @@
*/
#ifndef _ISO_SIGNAL_ISO_H
#define _ISO_SIGNAL_ISO_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-/* SVr4.0 1.5.3.4 */
-
#include <sys/iso/signal_iso.h>
#ifdef __cplusplus
extern "C" {
#endif
@@ -56,26 +55,17 @@
namespace std {
#endif
typedef int sig_atomic_t;
-#if defined(__STDC__)
-
#ifdef __cplusplus
extern "C" SIG_PF signal(int, SIG_PF);
#else
extern void (*signal(int, void (*)(int)))(int);
#endif
extern int raise(int);
-#else /* __STDC__ */
-
-extern void(*signal())();
-extern int raise();
-
-#endif /* __STDC__ */
-
#if __cplusplus >= 199711L
}
#endif /* end of namespace std */
#ifdef __cplusplus