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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libnisdb/db_dictxdr.c
          +++ new/usr/src/lib/libnisdb/db_dictxdr.c
↓ open down ↓ 14 lines elided ↑ open up ↑
  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   23   *      db_dictxdr.c
  24   24   *
       25 + * Copyright 2015 Gary Mills
  25   26   * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  26   27   * Use is subject to license terms.
  27   28   */
  28   29  
  29      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  30      -
  31   30  #include "db_dictionary_c.h"
       31 +#include "db_dictionary.h"
  32   32  #include "db_vers_c.h"
  33   33  
  34   34  extern vers db_update_version;
  35   35  
  36   36  extern void make_zero(vers*);
  37   37  
  38   38  /* Special xdr_db_dict_desc that understands optional version number at end. */
  39   39  bool_t
  40   40  xdr_db_dict_desc(XDR *xdrs, db_dict_desc *objp)
  41   41  {
↓ open down ↓ 23 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX