Mercurial > hg > octave-kai > gnulib-hg
changeset 445:9f376cb2d543
(__strtol): Remove prototype altogether.
Move inclusion of xstrtol.h back so that it follows system headers.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Mon, 22 May 1995 04:43:36 +0000 |
parents | e421a9b5a4b8 |
children | 8461c3b8595a |
files | lib/xstrtol.c |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/xstrtol.c +++ b/lib/xstrtol.c @@ -2,12 +2,8 @@ #include <config.h> #endif -#include "xstrtol.h" /* Get definition for __P before use. */ - #ifdef STDC_HEADERS #include <stdlib.h> -#else -__unsigned long int __strtol __P ((const char *, char **, int base)); #endif #ifdef HAVE_STRING_H @@ -39,6 +35,8 @@ #define LONG_MAX ((long int) (ULONG_MAX >> 1)) #endif +#include "xstrtol.h" + #define BKM_SCALE(x, scale_factor, error_return) \ do \ { \