xref: /dflybsd-src/contrib/grep/lib/fpending.h (revision 95b7b45377d922df3f9cbf9a1f160c77aa3555fa)
1*95b7b453SJohn Marino /* Declare __fpending.
2*95b7b453SJohn Marino 
3*95b7b453SJohn Marino    Copyright (C) 2000, 2003, 2005-2006, 2009-2010 Free Software Foundation,
4*95b7b453SJohn Marino    Inc.
5*95b7b453SJohn Marino 
6*95b7b453SJohn Marino    This program is free software: you can redistribute it and/or modify
7*95b7b453SJohn Marino    it under the terms of the GNU General Public License as published by
8*95b7b453SJohn Marino    the Free Software Foundation; either version 3 of the License, or
9*95b7b453SJohn Marino    (at your option) any later version.
10*95b7b453SJohn Marino 
11*95b7b453SJohn Marino    This program is distributed in the hope that it will be useful,
12*95b7b453SJohn Marino    but WITHOUT ANY WARRANTY; without even the implied warranty of
13*95b7b453SJohn Marino    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14*95b7b453SJohn Marino    GNU General Public License for more details.
15*95b7b453SJohn Marino 
16*95b7b453SJohn Marino    You should have received a copy of the GNU General Public License
17*95b7b453SJohn Marino    along with this program.  If not, see <http://www.gnu.org/licenses/>.
18*95b7b453SJohn Marino 
19*95b7b453SJohn Marino    Written by Jim Meyering.  */
20*95b7b453SJohn Marino 
21*95b7b453SJohn Marino #include <stddef.h>
22*95b7b453SJohn Marino #include <stdio.h>
23*95b7b453SJohn Marino 
24*95b7b453SJohn Marino #ifndef HAVE_DECL___FPENDING
25*95b7b453SJohn Marino "this configure-time declaration test was not run"
26*95b7b453SJohn Marino #endif
27*95b7b453SJohn Marino 
28*95b7b453SJohn Marino #if HAVE_DECL___FPENDING
29*95b7b453SJohn Marino # if HAVE_STDIO_EXT_H
30*95b7b453SJohn Marino #  include <stdio_ext.h>
31*95b7b453SJohn Marino # endif
32*95b7b453SJohn Marino #else
33*95b7b453SJohn Marino size_t __fpending (FILE *);
34*95b7b453SJohn Marino #endif
35