summaryrefslogtreecommitdiff
path: root/usr/src/head/execinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/head/execinfo.h')
-rw-r--r--usr/src/head/execinfo.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/usr/src/head/execinfo.h b/usr/src/head/execinfo.h
index 10aa4cb346..c4e954b773 100644
--- a/usr/src/head/execinfo.h
+++ b/usr/src/head/execinfo.h
@@ -19,6 +19,8 @@
* CDDL HEADER END
*/
/*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -26,8 +28,6 @@
#ifndef _EXECINFO_H
#define _EXECINFO_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* These functions provide glibc-compatible backtrace functionality.
* Improved functionality is available using Solaris-specific APIs;
@@ -37,15 +37,9 @@
extern "C" {
#endif
-#if defined(__STDC__)
extern int backtrace(void **, int);
extern char **backtrace_symbols(void *const *, int);
extern void backtrace_symbols_fd(void *const *, int, int);
-#else
-extern int backtrace();
-extern char **backtrace_symbols();
-extern void backtrace_symbols_fd();
-#endif
#ifdef __cplusplus
}