summaryrefslogtreecommitdiff
path: root/libc/misc/atof.c
blob: aeadaa531d55662ef190bc0bbd7edd106194193f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* Copyright (C) Robert de Bath <robert@debath.co.uk>
 * This file is part of the Linux-8086 C library and is distributed
 * under the GNU Library General Public License.
 */

double 
#ifdef __STDC__
atof(const char *p)
#else
atof(p)
char *p;
#endif
{
   return strtod(p, (char**)0);
}