summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/unwind.h
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2004-07-28 03:11:36 +0000
committerkan <kan@FreeBSD.org>2004-07-28 03:11:36 +0000
commit5e00ec74d8ce58f99801200d4d3d0412c7cc1b28 (patch)
tree052f4bb635f2bea2c5e350bd60c902be100a0d1e /contrib/gcc/unwind.h
parent87b8398a7d9f9bf0e28bbcd54a4fc27db2125f38 (diff)
downloadFreeBSD-src-5e00ec74d8ce58f99801200d4d3d0412c7cc1b28.zip
FreeBSD-src-5e00ec74d8ce58f99801200d4d3d0412c7cc1b28.tar.gz
Gcc 3.4.2 20040728.
Diffstat (limited to 'contrib/gcc/unwind.h')
-rw-r--r--contrib/gcc/unwind.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/contrib/gcc/unwind.h b/contrib/gcc/unwind.h
index 4f39223..21f3feb 100644
--- a/contrib/gcc/unwind.h
+++ b/contrib/gcc/unwind.h
@@ -1,5 +1,5 @@
/* Exception handling and frame unwind runtime interface routines.
- Copyright (C) 2001, 2003 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2003, 2004 Free Software Foundation, Inc.
This file is part of GCC.
@@ -28,6 +28,9 @@
/* This is derived from the C++ ABI for IA-64. Where we diverge
for cross-architecture compatibility are noted with "@@@". */
+#ifndef _UNWIND_H
+#define _UNWIND_H
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -205,7 +208,7 @@ _Unwind_GetDataRelBase (struct _Unwind_Context *_C)
}
static inline _Unwind_Ptr
-_Unwind_GetTextRelBase (struct _Unwind_Context *_C)
+_Unwind_GetTextRelBase (struct _Unwind_Context *_C __attribute__ ((__unused__)))
{
abort ();
return 0;
@@ -225,3 +228,5 @@ extern void * _Unwind_FindEnclosingFunction (void *pc);
#ifdef __cplusplus
}
#endif
+
+#endif /* unwind.h */
OpenPOWER on IntegriCloud