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


   5  * Common Development and Distribution License, Version 1.0 only
   6  * (the "License").  You may not use this file except in compliance
   7  * with the License.
   8  *
   9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  10  * or http://www.opensolaris.org/os/licensing.
  11  * See the License for the specific language governing permissions
  12  * and limitations under the License.
  13  *
  14  * When distributing Covered Code, include this CDDL HEADER in each
  15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  16  * If applicable, add the following below this CDDL HEADER, with the
  17  * fields enclosed by brackets "[]" replaced with your own identifying
  18  * information: Portions Copyright [yyyy] [name of copyright owner]
  19  *
  20  * CDDL HEADER END
  21  */
  22 /*
  23  *      db_dictionary_c.x
  24  *

  25  * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  26  * Use is subject to license terms.
  27  */
  28  
  29 %#pragma ident  "%Z%%M% %I%     %E% SMI"


  30  
  31 #if RPC_HDR
  32 %#ifndef _DB_DICTIONARY_H
  33 %#define _DB_DICTIONARY_H
  34 
  35 #ifdef USINGC
  36 %#include "nisdb_rw.h"
  37 %#include "nisdb_ldap.h"
  38 %#include "db_entry_c.h"
  39 %#include "db_scheme_c.h"
  40 %#include "db_vers_c.h"
  41 %#include "ldap_xdr.h"
  42 %typedef void *nullptr;
  43 %typedef u_int db_dict_version;
  44 #else
  45 %#include "nisdb_rw.h"
  46 %#include "nisdb_ldap.h"
  47 %#include "db_entry.h"
  48 %#include "db_scheme.h"
  49 %#include "db.h"




   5  * Common Development and Distribution License, Version 1.0 only
   6  * (the "License").  You may not use this file except in compliance
   7  * with the License.
   8  *
   9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  10  * or http://www.opensolaris.org/os/licensing.
  11  * See the License for the specific language governing permissions
  12  * and limitations under the License.
  13  *
  14  * When distributing Covered Code, include this CDDL HEADER in each
  15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  16  * If applicable, add the following below this CDDL HEADER, with the
  17  * fields enclosed by brackets "[]" replaced with your own identifying
  18  * information: Portions Copyright [yyyy] [name of copyright owner]
  19  *
  20  * CDDL HEADER END
  21  */
  22 /*
  23  *      db_dictionary_c.x
  24  *
  25  * Copyright 2015 Gary Mills
  26  * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  27  * Use is subject to license terms.
  28  */
  29  
  30 #if RPC_XDR
  31 %#include "xdr_nullptr.h"
  32 #endif /* RPC_XDR */
  33  
  34 #if RPC_HDR
  35 %#ifndef _DB_DICTIONARY_H
  36 %#define _DB_DICTIONARY_H
  37 
  38 #ifdef USINGC
  39 %#include "nisdb_rw.h"
  40 %#include "nisdb_ldap.h"
  41 %#include "db_entry_c.h"
  42 %#include "db_scheme_c.h"
  43 %#include "db_vers_c.h"
  44 %#include "ldap_xdr.h"
  45 %typedef void *nullptr;
  46 %typedef u_int db_dict_version;
  47 #else
  48 %#include "nisdb_rw.h"
  49 %#include "nisdb_ldap.h"
  50 %#include "db_entry.h"
  51 %#include "db_scheme.h"
  52 %#include "db.h"