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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libnisdb/yptol/map_conv.c
          +++ new/usr/src/lib/libnisdb/yptol/map_conv.c
↓ 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 2003 Sun Microsystems, Inc.  All rights reserved.
  24   25   * Use is subject to license terms.
  25   26   */
  26   27  
  27      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  28      -
  29   28  /*
  30   29   * DESCRIPTION: Contains functions relating to movement of entire maps.
  31   30   */
  32   31  
  33   32  #include <unistd.h>
  34   33  #include <syslog.h>
  35   34  #include <ndbm.h>
  36   35  #include <string.h>
  37   36  #include "ypsym.h"
  38   37  #include "ypdefs.h"
  39   38  #include "shim.h"
  40   39  #include "yptol.h"
  41   40  #include "../ldap_util.h"
  42   41  
  43   42  /*
  44   43   * Switch on parts of ypdefs.h
  45   44   */
  46   45  USE_YPDBPATH
  47      -USE_DBM
  48   46  
  49   47  /*
  50   48   * Decs
  51   49   */
  52   50  void add_separator(char *);
  53   51  suc_code dump_domain_to_dit(char *, bool_t);
  54   52  suc_code dump_map_to_dit(char *, char *, bool_t);
  55   53  suc_code dump_maps_to_dit(bool_t);
  56   54  suc_code dump_dit_to_map();
  57   55  suc_code dump_dit_to_maps();
↓ open down ↓ 356 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX