diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-09-03 00:07:41 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-09-03 00:07:41 +0000 |
commit | 2a23d36023d384e9d7c6196b3ef35cce5bd2af53 (patch) | |
tree | 07a8400aea053973ad671f2bd7635bd0c1d9b0ad /gcc/ada/tb-gcc.c | |
parent | ec35f60c2e0873a92b185d7c005212d9e4d64e48 (diff) | |
download | gcc-2a23d36023d384e9d7c6196b3ef35cce5bd2af53.tar.gz |
* tb-gcc.c (__gnat_backtrace): Mark all arguments unused.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151355 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/tb-gcc.c')
-rw-r--r-- | gcc/ada/tb-gcc.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/ada/tb-gcc.c b/gcc/ada/tb-gcc.c index 05ce9c7666e..22432b4e6ad 100644 --- a/gcc/ada/tb-gcc.c +++ b/gcc/ada/tb-gcc.c @@ -94,9 +94,11 @@ trace_callback (struct _Unwind_Context * uw_context, uw_data_t * uw_data) ********************/ int -__gnat_backtrace (void ** traceback, int max_len, - void * exclude_min, void * exclude_max, - int skip_frames) +__gnat_backtrace (void ** traceback __attribute__((unused)), + int max_len __attribute__((unused)), + void * exclude_min __attribute__((unused)), + void * exclude_max __attribute__((unused)), + int skip_frames __attribute__((unused))) { #if defined (__USING_SJLJ_EXCEPTIONS__) /* We have no unwind material (tables) at hand with sjlj eh, and no |