X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=lib%2Fstrerror-override.h;h=a96fd0890953744f6a55c0df56da5c5187eb7af5;hb=92249085071a973e2c0621b0415b93d2e48bb00d;hp=fe1fb2c22926fa1339d23579ea1236a4b0a747ac;hpb=4ee107046a0ffd91f6c60c787326a5e27b799f6d;p=debian%2Fgzip
diff --git a/lib/strerror-override.h b/lib/strerror-override.h
index fe1fb2c..a96fd08 100644
--- a/lib/strerror-override.h
+++ b/lib/strerror-override.h
@@ -1,6 +1,6 @@
/* strerror-override.h --- POSIX compatible system error routine
- Copyright (C) 2010-2012 Free Software Foundation, Inc.
+ Copyright (C) 2010-2018 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -13,7 +13,7 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program. If not, see . */
+ along with this program. If not, see . */
#ifndef _GL_STRERROR_OVERRIDE_H
# define _GL_STRERROR_OVERRIDE_H
@@ -46,8 +46,9 @@
|| GNULIB_defined_EDQUOT \
|| GNULIB_defined_ECANCELED \
|| GNULIB_defined_EOWNERDEAD \
- || GNULIB_defined_ENOTRECOVERABLE
-extern const char *strerror_override (int errnum);
+ || GNULIB_defined_ENOTRECOVERABLE \
+ || GNULIB_defined_EILSEQ
+extern const char *strerror_override (int errnum) _GL_ATTRIBUTE_CONST;
# else
# define strerror_override(ignored) NULL
# endif