]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - misc/err.h
S390: Add support for HP_TIMING_NOW.
[thirdparty/glibc.git] / misc / err.h
index fabd83656049c6d2d9f5846ba56029cc3e05192f..a71b3fafe0b1df26dd06d31a8525788c73de010a 100644 (file)
@@ -1,5 +1,5 @@
 /* 4.4BSD utility functions for error messages.
-   Copyright (C) 1995-2014 Free Software Foundation, Inc.
+   Copyright (C) 1995-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
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #ifndef        _ERR_H
 #define        _ERR_H  1
@@ -24,7 +24,7 @@
 #define        __need___va_list
 #include <stdarg.h>
 #ifndef        __GNUC_VA_LIST
-# define __gnuc_va_list        __ptr_t
+# define __gnuc_va_list        void *
 #endif
 
 __BEGIN_DECLS
@@ -52,6 +52,10 @@ extern void errx (int __status, const char *__format, ...)
 extern void verrx (int __status, const char *, __gnuc_va_list)
      __attribute__ ((__noreturn__, __format__ (__printf__, 2, 0)));
 
+#ifdef __LDBL_COMPAT
+# include <bits/err-ldbl.h>
+#endif
+
 __END_DECLS
 
 #endif /* err.h */