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

*** 19,32 **** --- 19,38 ---- * CDDL HEADER END */ /* * db_mindex_c.x * + * Copyright 2015 Gary Mills * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ + #if RPC_XDR + %#include "ldap_xdr.h" + %#include "nis_clnt.h" + #endif /* RPC_XDR */ + #if RPC_HDR %#ifndef _DB_MINDEX_H %#define _DB_MINDEX_H #ifdef USINGC
*** 87,97 **** nis_object *obj; strP dirEntry<>; }; typedef struct xdr_nis_object_s xdr_nis_object_t; - %extern bool_t xdr_nis_object(); #endif /* USINGC */ #endif /* RPC_HDR */ #ifndef USINGC #ifdef RPC_HDR --- 93,102 ----
*** 104,115 **** % char **dirEntry_val; % } dirEntry; %}; %typedef struct xdr_nis_object_s xdr_nis_object_t; % - %extern bool_t xdr_nis_object(); - % %class db_mindex { % vers rversion; %// int num_indices; %// db_index * indices; /* indices[num_indices] */ % struct { --- 109,118 ----