summaryrefslogtreecommitdiff
path: root/gcc/unwind-sjlj.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-28 03:47:37 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-28 03:47:37 +0000
commitdb0f4f32274ac3a70f90362918e093e9e336df4d (patch)
treeb2dac211d1828a68c5f2115c911571cd09002993 /gcc/unwind-sjlj.c
parentd3612643b13c96546f6974df02836737ebcd6890 (diff)
downloadgcc-db0f4f32274ac3a70f90362918e093e9e336df4d.tar.gz
* config/mips/irix6-libc-compat.c (inet_makeaddr): Prototype.
* crtstuff.c (__do_global_ctors_1): Move prototype. * unwind-dw2.c (NO_SIZE_OF_ENCODED_VALUE): Define when appropriate. * unwind-sjlj.c (_Unwind_GetCFA, _Unwind_FindEnclosingFunction): Mark parameter with __attribute__((unused)). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72999 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/unwind-sjlj.c')
-rw-r--r--gcc/unwind-sjlj.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/unwind-sjlj.c b/gcc/unwind-sjlj.c
index 376135574e0..a02fc325a78 100644
--- a/gcc/unwind-sjlj.c
+++ b/gcc/unwind-sjlj.c
@@ -182,7 +182,7 @@ _Unwind_GetGR (struct _Unwind_Context *context, int index)
/* Get the value of the CFA as saved in CONTEXT. */
_Unwind_Word
-_Unwind_GetCFA (struct _Unwind_Context *context)
+_Unwind_GetCFA (struct _Unwind_Context *context __attribute__((unused)))
{
/* ??? Ideally __builtin_setjmp places the CFA in the jmpbuf. */
return NULL;
@@ -223,7 +223,7 @@ _Unwind_GetRegionStart (struct _Unwind_Context *context __attribute__((unused))
}
void *
-_Unwind_FindEnclosingFunction (void *pc)
+_Unwind_FindEnclosingFunction (void *pc __attribute__((unused)))
{
return NULL;
}