summaryrefslogtreecommitdiff
path: root/lib/xstrtod.h
blob: 5b61c46df8e7c7d07c04cd2061ad2717d484a73f (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
# endif

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

#endif /* not XSTRTOD_H */