]>
Commit | Line | Data |
---|---|---|
c6251f03 | 1 | /* -mlong-double-64 compatibility mode for syslog functions. |
d4697bc9 | 2 | Copyright (C) 2006-2014 Free Software Foundation, Inc. |
d876f532 | 3 | This file is part of the GNU C Library. |
d876f532 UD |
4 | |
5 | The GNU C Library is free software; you can redistribute it and/or | |
41bdb6e2 AJ |
6 | modify it under the terms of the GNU Lesser General Public |
7 | License as published by the Free Software Foundation; either | |
8 | version 2.1 of the License, or (at your option) any later version. | |
d876f532 UD |
9 | |
10 | The GNU C Library is distributed in the hope that it will be useful, | |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
41bdb6e2 | 13 | Lesser General Public License for more details. |
d876f532 | 14 | |
41bdb6e2 | 15 | You should have received a copy of the GNU Lesser General Public |
59ba27a6 PE |
16 | License along with the GNU C Library; if not, see |
17 | <http://www.gnu.org/licenses/>. */ | |
d876f532 | 18 | |
c6251f03 RM |
19 | #ifndef _SYS_SYSLOG_H |
20 | # error "Never include <bits/syslog-ldbl.h> directly; use <sys/syslog.h> instead." | |
21 | #endif | |
d876f532 | 22 | |
c6251f03 | 23 | __LDBL_REDIR_DECL (syslog) |
54e98f69 RM |
24 | |
25 | #ifdef __USE_BSD | |
c6251f03 | 26 | __LDBL_REDIR_DECL (vsyslog) |
54e98f69 RM |
27 | #endif |
28 | ||
5ac3ea17 | 29 | #if __USE_FORTIFY_LEVEL > 0 && defined __fortify_function |
54e98f69 RM |
30 | __LDBL_REDIR_DECL (__syslog_chk) |
31 | ||
32 | # ifdef __USE_BSD | |
33 | __LDBL_REDIR_DECL (__vsyslog_chk) | |
34 | # endif | |
35 | #endif |