[BACK]Return to port_after.h.in CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / dist / bind / lib / bind

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

Diff for /src/dist/bind/lib/bind/Attic/port_after.h.in between version 1.1.1.2 and 1.1.1.2.4.2

version 1.1.1.2, 2004/11/06 23:55:24 version 1.1.1.2.4.2, 2008/07/24 22:17:55
Line 5 
Line 5 
 #include <sys/types.h>  #include <sys/types.h>
 #include <sys/socket.h>  #include <sys/socket.h>
 #include <sys/param.h>  #include <sys/param.h>
   #include <sys/time.h>
 #if (!defined(BSD)) || (BSD < 199306)  #if (!defined(BSD)) || (BSD < 199306)
 #include <sys/bitypes.h>  #include <sys/bitypes.h>
 #endif  #endif
   #ifdef HAVE_INTTYPES_H
   #include <inttypes.h>
   #endif
   #ifdef HAVE_SYS_SELECT_H
   #include <sys/select.h>
   #endif /* HAVE_SYS_SELECT_H */
   
 @NEED_PSELECT@  @NEED_PSELECT@
 @HAVE_SA_LEN@  @HAVE_SA_LEN@
Line 27 
Line 34 
 @INNETGR_ARGS@  @INNETGR_ARGS@
 @SETNETGRENT_ARGS@  @SETNETGRENT_ARGS@
 @USE_IFNAMELINKID@  @USE_IFNAMELINKID@
   @PORT_NONBLOCK@
   
 /* XXX sunos and cygwin needs O_NDELAY */  #ifndef _POSIX_PATH_MAX
 #define PORT_NONBLOCK O_NONBLOCK  #define _POSIX_PATH_MAX 255
   #endif
   #ifndef PATH_MAX
   #define PATH_MAX _POSIX_PATH_MAX
   #endif
   
 /*  /*
  * We need to know the IPv6 address family number even on IPv4-only systems.   * We need to know the IPv6 address family number even on IPv4-only systems.
Line 86  struct sockaddr_in6 {
Line 98  struct sockaddr_in6 {
 #undef IN6ADDR_LOOPBACK_INIT  #undef IN6ADDR_LOOPBACK_INIT
 #endif  #endif
   
   #ifdef _AIX
   #ifndef IN6ADDR_ANY_INIT
   #define IN6ADDR_ANY_INIT {{{ 0, 0, 0, 0 }}}
   #endif
   #ifndef IN6ADDR_LOOPBACK_INIT
   #if BYTE_ORDER == BIG_ENDIAN
   #define IN6ADDR_LOOPBACK_INIT {{{ 0, 0, 0, 1 }}}
   #else
   #define IN6ADDR_LOOPBACK_INIT {{{0, 0, 0, 0x01000000}}}
   #endif
   #endif
   #endif
   
 #ifndef IN6ADDR_ANY_INIT  #ifndef IN6ADDR_ANY_INIT
 #ifdef s6_addr  #ifdef s6_addr
 #define IN6ADDR_ANY_INIT \  #define IN6ADDR_ANY_INIT \
Line 242  char * strsep(char **stringp, const char
Line 267  char * strsep(char **stringp, const char
 #endif  #endif
   
 #ifndef ALIGN  #ifndef ALIGN
 #define ALIGN(p) (((unsigned int)(p) + (sizeof(int) - 1)) & ~(sizeof(int) - 1))  #define ALIGN(p) (((uintptr_t)(p) + (sizeof(long) - 1)) & ~(sizeof(long) - 1))
 #endif  #endif
   
 #ifdef NEED_SETGROUPENT  #ifdef NEED_SETGROUPENT
Line 285  GROUP_R_SET_RETURN setgrent_r(GROUP_R_EN
Line 310  GROUP_R_SET_RETURN setgrent_r(GROUP_R_EN
 GROUP_R_END_RETURN endgrent_r(GROUP_R_ENT_ARGS);  GROUP_R_END_RETURN endgrent_r(GROUP_R_ENT_ARGS);
 #endif  #endif
   
 #ifdef NEED_INNETGR_R  #if defined(NEED_INNETGR_R) && defined(NGR_R_RETURN)
 NGR_R_RETURN  NGR_R_RETURN
 innetgr_r(const char *, const char *, const char *, const char *);  innetgr_r(const char *, const char *, const char *, const char *);
 #endif  #endif
Line 368  int isc__gettimeofday(struct timeval *tp
Line 393  int isc__gettimeofday(struct timeval *tp
   
 int getnetgrent(char **machinep, char **userp, char **domainp);  int getnetgrent(char **machinep, char **userp, char **domainp);
   
   #ifdef NGR_R_ARGS
 int getnetgrent_r(char **machinep, char **userp, char **domainp, NGR_R_ARGS);  int getnetgrent_r(char **machinep, char **userp, char **domainp, NGR_R_ARGS);
   #endif
   
 #ifdef SETNETGRENT_ARGS  #ifdef SETNETGRENT_ARGS
 void setnetgrent(SETNETGRENT_ARGS);  void setnetgrent(SETNETGRENT_ARGS);

Legend:
Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.2.4.2

CVSweb <webmaster@jp.NetBSD.org>