]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/gdbsupport/safe-strerror.c
Update copyright year range in all GDB files.
[thirdparty/binutils-gdb.git] / gdb / gdbsupport / safe-strerror.c
index 7425af590f789c1625013c9dc51b505a324ad7fd..580462102e2ca9f123471b19c71ab7bf61316265 100644 (file)
@@ -1,6 +1,6 @@
 /* Safe version of strerror for GDB, the GNU debugger.
 
-   Copyright (C) 2006-2019 Free Software Foundation, Inc.
+   Copyright (C) 2006-2020 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
    function.  */
 
 /* Called if we have a XSI-compliant strerror_r.  */
-static char *
+ATTRIBUTE_UNUSED static char *
 select_strerror_r (int res, char *buf)
 {
   return res == 0 ? buf : nullptr;
 }
 
 /* Called if we have a GNU strerror_r.  */
-static char *
+ATTRIBUTE_UNUSED static char *
 select_strerror_r (char *res, char *)
 {
   return res;