diff options
Diffstat (limited to 'gnu/usr.bin/sort/xstrtod.h')
-rw-r--r-- | gnu/usr.bin/sort/xstrtod.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/usr.bin/sort/xstrtod.h b/gnu/usr.bin/sort/xstrtod.h new file mode 100644 index 0000000..4fdcc64 --- /dev/null +++ b/gnu/usr.bin/sort/xstrtod.h @@ -0,0 +1,16 @@ +/* $FreeBSD$ */ +#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 */ |