]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - stdlib/fmtmsg.h
Sync time/mktime.c with gnulib
[thirdparty/glibc.git] / stdlib / fmtmsg.h
index 53e3e53d899ffa3f7441c7c83ae0fdc6c4dab471..a150cfe5e9dd5cb15e1b833cf02cda0864a9c76f 100644 (file)
@@ -1,5 +1,5 @@
 /* Message display handling.
-   Copyright (C) 1997, 1999, 2000, 2003 Free Software Foundation, Inc.
+   Copyright (C) 1997-2019 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -13,9 +13,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <https://www.gnu.org/licenses/>.  */
 
 #ifndef __FMTMSG_H
 #define __FMTMSG_H     1
@@ -92,13 +91,13 @@ enum
 
 /* Print message with given CLASSIFICATION, LABEL, SEVERITY, TEXT, ACTION
    and TAG to console or standard error.  */
-extern int fmtmsg (long int __classification, __const char *__label,
-                  int __severity, __const char *__text,
-                  __const char *__action, __const char *__tag);
+extern int fmtmsg (long int __classification, const char *__label,
+                  int __severity, const char *__text,
+                  const char *__action, const char *__tag);
 
-#ifdef __USE_SVID
+#ifdef __USE_MISC
 /* Add or remove severity level.  */
-extern int addseverity (int __severity, __const char *__string) __THROW;
+extern int addseverity (int __severity, const char *__string) __THROW;
 #endif
 
 __END_DECLS