Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libc/gdtoa/gdtoaimp.h,v rcsdiff: /ftp/cvs/cvsroot/src/lib/libc/gdtoa/gdtoaimp.h,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.4 retrieving revision 1.5.4.1 diff -u -p -r1.4 -r1.5.4.1 --- src/lib/libc/gdtoa/gdtoaimp.h 2006/05/04 18:38:56 1.4 +++ src/lib/libc/gdtoa/gdtoaimp.h 2007/05/07 19:49:06 1.5.4.1 @@ -1,4 +1,4 @@ -/* $NetBSD: gdtoaimp.h,v 1.4 2006/05/04 18:38:56 christos Exp $ */ +/* $NetBSD: gdtoaimp.h,v 1.5.4.1 2007/05/07 19:49:06 pavel Exp $ */ /**************************************************************** @@ -170,6 +170,8 @@ THIS SOFTWARE. /* #define IEEE_{BIG,LITTLE}_ENDIAN in ${ARCHDIR}/gdtoa/arith.h */ #include +#define Short int16_t +#define UShort uint16_t #define Long int32_t #define ULong uint32_t #define LLong int64_t @@ -590,12 +592,12 @@ extern void memcpy_D2A ANSI((void*, cons extern int match ANSI((CONST char**, CONST char*)); extern Bigint *mult ANSI((Bigint*, Bigint*)); extern Bigint *multadd ANSI((Bigint*, int, int)); - extern char *nrv_alloc ANSI((CONST char*, char **, int)); + extern char *nrv_alloc ANSI((CONST char*, char **, size_t)); extern Bigint *pow5mult ANSI((Bigint*, int)); extern int quorem ANSI((Bigint*, Bigint*)); extern double ratio ANSI((Bigint*, Bigint*)); extern void rshift ANSI((Bigint*, int)); - extern char *rv_alloc ANSI((int)); + extern char *rv_alloc ANSI((size_t)); extern Bigint *s2b ANSI((CONST char*, int, int, ULong)); extern Bigint *set_ones ANSI((Bigint*, int)); extern char *strcp ANSI((char*, const char*));