[BACK]Return to socket.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / sys

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

Diff for /src/sys/sys/socket.h between version 1.54 and 1.55.2.2

version 1.54, 2000/04/03 11:49:25 version 1.55.2.2, 2001/05/01 10:29:06
Line 74 
Line 74 
 /*  /*
  * Data types.   * Data types.
  */   */
 typedef unsigned int    socklen_t;  #include <sys/ansi.h>
   #ifndef socklen_t
   typedef __socklen_t     socklen_t;
   #define socklen_t       __socklen_t
   #endif
   
 /*  /*
  * Socket types.   * Socket types.
Line 462  struct omsghdr {
Line 466  struct omsghdr {
 };  };
 #endif  #endif
   
   #include <sys/cdefs.h>
   
   __BEGIN_DECLS
 int     __cmsg_alignbytes __P((void));  int     __cmsg_alignbytes __P((void));
   __END_DECLS
   
 #ifndef _KERNEL  #ifndef _KERNEL
   
 #include <sys/cdefs.h>  
   
 __BEGIN_DECLS  __BEGIN_DECLS
 int     accept __P((int, struct sockaddr *, socklen_t *));  int     accept __P((int, struct sockaddr *, socklen_t *));
 int     bind __P((int, const struct sockaddr *, socklen_t));  int     bind __P((int, const struct sockaddr *, socklen_t));

Legend:
Removed from v.1.54  
changed lines
  Added in v.1.55.2.2

CVSweb <webmaster@jp.NetBSD.org>