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

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

Diff for /src/lib/libc/inet/nsap_addr.c between version 1.2 and 1.2.12.1

version 1.2, 2004/05/20 23:12:33 version 1.2.12.1, 2007/06/03 17:25:54
Line 20 
Line 20 
 #include <sys/cdefs.h>  #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)  #if defined(LIBC_SCCS) && !defined(lint)
 #if 0  #if 0
 static const char rcsid[] = "Id: nsap_addr.c,v 1.2.206.1 2004/03/09 08:33:33 marka Exp";  static const char rcsid[] = "Id: nsap_addr.c,v 1.3.18.2 2005/07/28 07:38:08 marka Exp";
 #else  #else
 __RCSID("$NetBSD$");  __RCSID("$NetBSD$");
 #endif  #endif
Line 40  __RCSID("$NetBSD$");
Line 40  __RCSID("$NetBSD$");
 #include <assert.h>  #include <assert.h>
 #include <ctype.h>  #include <ctype.h>
 #include <resolv.h>  #include <resolv.h>
   #include <resolv_mt.h>
   
 #include "port_after.h"  #include "port_after.h"
   
Line 96  char *
Line 97  char *
 inet_nsap_ntoa(int binlen, const u_char *binary, char *ascii) {  inet_nsap_ntoa(int binlen, const u_char *binary, char *ascii) {
         int nib;          int nib;
         int i;          int i;
         static char tmpbuf[2+255*3];          char *tmpbuf = inet_nsap_ntoa_tmpbuf;
         char *start;          char *start;
   
         _DIAGASSERT(binary != NULL);          _DIAGASSERT(binary != NULL);
Line 125  inet_nsap_ntoa(int binlen, const u_char 
Line 126  inet_nsap_ntoa(int binlen, const u_char 
         *ascii = '\0';          *ascii = '\0';
         return (start);          return (start);
 }  }
   
   /*! \file */

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

CVSweb <webmaster@jp.NetBSD.org>