Print this page
872 remove duplicate daemon() definitions

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libresolv2/include/port_after.h
          +++ new/usr/src/lib/libresolv2/include/port_after.h
↓ open down ↓ 38 lines elided ↑ open up ↑
  39   39  #include <sys/select.h>
  40   40  #endif /* HAVE_SYS_SELECT_H */
  41   41  
  42   42  #ifdef REENABLE_SEND
  43   43  #undef send
  44   44  #endif
  45   45  
  46   46  #undef NEED_PSELECT
  47   47  #undef HAVE_SA_LEN
  48   48  #undef HAVE_MINIMUM_IFREQ
  49      -#define NEED_DAEMON 1
  50   49  #undef NEED_STRSEP
  51   50  #undef NEED_STRERROR
  52   51  #ifdef NEED_STRERROR
  53   52  const char *isc_strerror(int);
  54   53  #define strerror isc_strerror
  55   54  #endif
  56   55  /* HAS_INET6_STRUCTS and HAVE_SIN6_SCOPE_ID are defined by port_ipv6.h
  57   56   * #define HAS_INET6_STRUCTS 1
  58   57   * #define HAVE_SIN6_SCOPE_ID 1
  59   58   */
↓ open down ↓ 225 lines elided ↑ open up ↑
 285  284  #endif
 286  285  
 287  286  #ifndef MIN
 288  287  #define MIN(x,y) (((x) <= (y)) ? (x) : (y))
 289  288  #endif
 290  289  
 291  290  #ifndef MAX
 292  291  #define MAX(x,y) (((x) >= (y)) ? (x) : (y))
 293  292  #endif
 294  293  
 295      -#ifdef NEED_DAEMON
 296      -int daemon(int nochdir, int noclose);
 297      -#endif
 298      -
 299  294  #ifdef NEED_STRSEP
 300  295  char * strsep(char **stringp, const char *delim);
 301  296  #endif
 302  297  
 303  298  #ifndef ALIGN
 304  299  #define ALIGN(p) (((uintptr_t)(p) + (sizeof(long) - 1)) & ~(sizeof(long) - 1))
 305  300  #endif
 306  301  
 307  302  #ifdef NEED_SETGROUPENT
 308  303  int setgroupent(int stayopen);
↓ open down ↓ 231 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX