diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-02-09 11:22:26 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-02-09 11:22:26 +0100 |
commit | b52948a77d1da6b0b983d5ef6f1d67e253be4ef2 (patch) | |
tree | fa5164450a4190d3ea429e372de090256d4f49c3 /sal | |
parent | 76cf4c365643e18436c691e284527fccfe273c9a (diff) |
Proper -Werror,-Wunused-parameter fix for C code
Change-Id: I2ebd350c3c39f848f5a39fa120154dc449173434
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/unx/backtrace.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sal/osl/unx/backtrace.c b/sal/osl/unx/backtrace.c index 086ba4825ec0..4741f36ff574 100644 --- a/sal/osl/unx/backtrace.c +++ b/sal/osl/unx/backtrace.c @@ -94,8 +94,9 @@ int backtrace( void **buffer, int max_frames ) return i; } -char ** backtrace_symbols(void * const *, int) +char ** backtrace_symbols(void * const * buffer, int size) { + (void)buffer; (void)size; return NULL; /*TODO*/ } @@ -176,8 +177,9 @@ int backtrace( void **buffer, int max_frames ) return i; } -char ** backtrace_symbols(void * const *, int) +char ** backtrace_symbols(void * const * buffer, int size) { + (void)buffer; (void)size; return NULL; /*TODO*/ } @@ -249,8 +251,9 @@ int backtrace( void **buffer, int max_frames ) return i; } -char ** backtrace_symbols(void * const *, int) +char ** backtrace_symbols(void * const * buffer, int size) { + (void)buffer; (void)size; return NULL; /*TODO*/ } @@ -297,8 +300,9 @@ int backtrace( void **buffer, int max_frames ) return 0; } -char ** backtrace_symbols(void * const *, int) +char ** backtrace_symbols(void * const * buffer, int size) { + (void)buffer; (void)size; return NULL; /*TODO*/ } |