diff options
Diffstat (limited to 'gnu/usr.bin/sort/xstrtod.h')
-rw-r--r-- | gnu/usr.bin/sort/xstrtod.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/usr.bin/sort/xstrtod.h b/gnu/usr.bin/sort/xstrtod.h new file mode 100644 index 0000000000000..15b85f446fa4d --- /dev/null +++ b/gnu/usr.bin/sort/xstrtod.h @@ -0,0 +1,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 __P ((const char *str, const char **ptr, double *result)); + +#endif /* XSTRTOD_H */ |