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

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

Diff for /src/lib/libc/nameser/ns_netint.c between version 1.1 and 1.2

version 1.1, 2004/05/20 20:01:31 version 1.2, 2004/05/20 20:19:00
Line 17 
Line 17 
  * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.   * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */   */
   
   #include <sys/cdefs.h>
 #ifndef lint  #ifndef lint
   #ifdef notdef
 static const char rcsid[] = "Id: ns_netint.c,v 1.1.206.1 2004/03/09 08:33:44 marka Exp";  static const char rcsid[] = "Id: ns_netint.c,v 1.1.206.1 2004/03/09 08:33:44 marka Exp";
   #else
   __RCSID("$NetBSD$");
   #endif
 #endif  #endif
   
 /* Import. */  /* Import. */
Line 31  static const char rcsid[] = "Id: ns_neti
Line 36  static const char rcsid[] = "Id: ns_neti
   
 /* Public. */  /* Public. */
   
 u_int  u_int16_t
 ns_get16(const u_char *src) {  ns_get16(const u_char *src) {
         u_int dst;          u_int dst;
   
Line 39  ns_get16(const u_char *src) {
Line 44  ns_get16(const u_char *src) {
         return (dst);          return (dst);
 }  }
   
 u_long  u_int32_t
 ns_get32(const u_char *src) {  ns_get32(const u_char *src) {
         u_long dst;          u_long dst;
   
Line 48  ns_get32(const u_char *src) {
Line 53  ns_get32(const u_char *src) {
 }  }
   
 void  void
 ns_put16(u_int src, u_char *dst) {  ns_put16(u_int16_t src, u_char *dst) {
         NS_PUT16(src, dst);          NS_PUT16(src, dst);
 }  }
   
 void  void
 ns_put32(u_long src, u_char *dst) {  ns_put32(u_int32_t src, u_char *dst) {
         NS_PUT32(src, dst);          NS_PUT32(src, dst);
 }  }

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

CVSweb <webmaster@jp.NetBSD.org>