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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libnisdb/db_dictionary_c.x
          +++ new/usr/src/lib/libnisdb/db_dictionary_c.x
↓ 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_dictionary_c.x
  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 +#if RPC_XDR
       31 +%#include "xdr_nullptr.h"
       32 +#endif /* RPC_XDR */
  30   33   
  31   34  #if RPC_HDR
  32   35  %#ifndef _DB_DICTIONARY_H
  33   36  %#define _DB_DICTIONARY_H
  34   37  
  35   38  #ifdef USINGC
  36   39  %#include "nisdb_rw.h"
  37   40  %#include "nisdb_ldap.h"
  38   41  %#include "db_entry_c.h"
  39   42  %#include "db_scheme_c.h"
↓ open down ↓ 255 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX