aboutsummaryrefslogtreecommitdiff
path: root/gcc/unwind-sjlj.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2003-10-28 03:47:37 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2003-10-28 03:47:37 +0000
commit525996eb67bbf7718a84b593cff8dae73345bcc0 (patch)
treeb2dac211d1828a68c5f2115c911571cd09002993 /gcc/unwind-sjlj.c
parent40fe4dd5a817b469030aaa517fcd999bf42c52ef (diff)
downloadgcc-525996eb67bbf7718a84b593cff8dae73345bcc0.zip
gcc-525996eb67bbf7718a84b593cff8dae73345bcc0.tar.gz
gcc-525996eb67bbf7718a84b593cff8dae73345bcc0.tar.bz2
irix6-libc-compat.c (inet_makeaddr): Prototype.
* 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)). From-SVN: r72999
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 3761355..a02fc32 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;
}