Print this page
5910 libnisdb won't build with modern GCC

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libnisdb/ldap_xdr.h
          +++ new/usr/src/lib/libnisdb/ldap_xdr.h
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13   *
  14   14   * When distributing Covered Code, include this CDDL HEADER in each
  15   15   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  16   16   * If applicable, add the following below this CDDL HEADER, with the
  17   17   * fields enclosed by brackets "[]" replaced with your own identifying
  18   18   * information: Portions Copyright [yyyy] [name of copyright owner]
  19   19   *
  20   20   * CDDL HEADER END
  21   21   */
  22   22  /*
       23 + * Copyright 2015 Gary Mills
  23   24   * Copyright (c) 2001 by Sun Microsystems, Inc.
  24   25   * All rights reserved.
  25   26   */
  26   27  
  27      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  28      -
  29   28  #ifndef _LDAP_XDR_H
  30   29  #define _LDAP_XDR_H
  31   30  
  32   31  #include <rpcsvc/nis.h>
  33   32  
  34   33  #ifdef  __cplusplus
  35   34  extern "C" {
  36   35  #endif
  37   36  
  38   37  /* Structure used to hide flag/counter from rpcgen */
↓ open down ↓ 14 lines elided ↑ open up ↑
  53   52  entry_obj       *makePseudoEntryObj(nis_object *obj, entry_obj *eo,
  54   53                                  nis_object *tobj);
  55   54  nis_object      *unmakePseudoEntryObj(entry_obj *e, nis_object *tobj);
  56   55  void            *xdrNisObject(nis_object *obj, entry_obj **ea, int numEa,
  57   56                          int *xdrLenP);
  58   57  nis_object      *unXdrNisObject(void *buf, int bufLen, entry_obj ***eaP,
  59   58                          int *numEaP);
  60   59  void            freeEntryObjArray(entry_obj **ea, int numEa);
  61   60  bool_t          sameNisPlusObj(nis_object *o1, nis_object *o2);
  62   61  bool_t          sameNisPlusPseudoObj(nis_object *o1, entry_obj *e2);
       62 +bool_t          xdr___nisdb_rwlock_t(XDR *, void *);
       63 +bool_t          xdr___nisdb_flag_t(XDR *, void *);
       64 +bool_t          xdr___nisdb_ptr_t(XDR *, void *);
       65 +bool_t          xdr___nis_table_mapping_t(XDR *, void *);
  63   66  
  64   67  #ifdef  __cplusplus
  65   68  }
  66   69  #endif  /* __cplusplus */
  67   70  
  68   71  #endif  /* _LDAP_XDR_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX