pike.git / src / stralloc.c

version» Context lines:

pike.git/src/stralloc.c:3458:       return i;   }      /* Convert PCHARP to a double. If ENDPTR is not NULL, a pointer to the    character after the last one used in the number is put in *ENDPTR. */   PMOD_EXPORT double STRTOD_PCHARP(PCHARP nptr, PCHARP *endptr)   {    /* Note: Code duplication in strtod. */    -  register PCHARP s; +  PCHARP s;    short int sign;       /* The number so far. */    double num;       int got_dot; /* Found a decimal point. */    int got_digit; /* Seen any digits. */       /* The exponent of the number. */    long int exponent;