summaryrefslogtreecommitdiff
path: root/lib/xstrtod.h
blob: 69c7877115b2a42e7216448f6b97789a1da0eea0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef XSTRTOD_H
#define XSTRTOD_H 1

#ifndef __P
# if defined (__GNUC__) || (defined (__STDC__) && __STDC__)
#  define __P(args) args
# else
#  define __P(args) ()
# endif  /* GCC.  */
#endif  /* Not __P.  */

int
  xstrtod (const char *str, const char **ptr, double *result);

#endif /* XSTRTOD_H */