[BACK]Return to hd_init.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / gdtoa

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/gdtoa/hd_init.c between version 1.1 and 1.2

version 1.1, 2006/01/25 15:18:48 version 1.2, 2006/01/25 15:27:42
Line 37  THIS SOFTWARE.
Line 37  THIS SOFTWARE.
   
  static void   static void
 #ifdef KR_headers  #ifdef KR_headers
 htinit(h, s, inc) unsigned char *h; unsigned char *s; int inc;  htinit(h, s, inc) unsigned char *h; CONST unsigned char *s; int inc;
 #else  #else
 htinit(unsigned char *h, unsigned char *s, int inc)  htinit(unsigned char *h, CONST unsigned char *s, int inc)
 #endif  #endif
 {  {
         int i, j;          int i, j;
Line 50  htinit(unsigned char *h, unsigned char *
Line 50  htinit(unsigned char *h, unsigned char *
  void   void
 hexdig_init_D2A(Void)  hexdig_init_D2A(Void)
 {  {
 #define USC (unsigned char *)  #define USC (CONST unsigned char *)
         htinit(hexdig, USC "0123456789", 0x10);          htinit(hexdig, USC "0123456789", 0x10);
         htinit(hexdig, USC "abcdef", 0x10 + 10);          htinit(hexdig, USC "abcdef", 0x10 + 10);
         htinit(hexdig, USC "ABCDEF", 0x10 + 10);          htinit(hexdig, USC "ABCDEF", 0x10 + 10);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

CVSweb <webmaster@jp.NetBSD.org>