summaryrefslogtreecommitdiffstats
path: root/newlib/libc/string/u_strerr.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/string/u_strerr.c')
-rw-r--r--newlib/libc/string/u_strerr.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/newlib/libc/string/u_strerr.c b/newlib/libc/string/u_strerr.c
index 7d902feb7..2978df0cf 100644
--- a/newlib/libc/string/u_strerr.c
+++ b/newlib/libc/string/u_strerr.c
@@ -6,5 +6,10 @@ _DEFUN(_user_strerror, (errnum, internal, errptr),
int internal _AND
int *errptr)
{
+ /* prevent warning about unused parameters */
+ _CAST_VOID errnum;
+ _CAST_VOID internal;
+ _CAST_VOID errptr;
+
return 0;
}