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

@@ -18,16 +18,15 @@
  * information: Portions Copyright [yyyy] [name of copyright owner]
  *
  * CDDL HEADER END
  */
 /*
+ * Copyright 2015 Gary Mills
  * Copyright (c) 2001 by Sun Microsystems, Inc.
  * All rights reserved.
  */
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 #ifndef _LDAP_XDR_H
 #define _LDAP_XDR_H
 
 #include <rpcsvc/nis.h>
 

@@ -58,10 +57,14 @@
 nis_object      *unXdrNisObject(void *buf, int bufLen, entry_obj ***eaP,
                         int *numEaP);
 void            freeEntryObjArray(entry_obj **ea, int numEa);
 bool_t          sameNisPlusObj(nis_object *o1, nis_object *o2);
 bool_t          sameNisPlusPseudoObj(nis_object *o1, entry_obj *e2);
+bool_t          xdr___nisdb_rwlock_t(XDR *, void *);
+bool_t          xdr___nisdb_flag_t(XDR *, void *);
+bool_t          xdr___nisdb_ptr_t(XDR *, void *);
+bool_t          xdr___nis_table_mapping_t(XDR *, void *);
 
 #ifdef  __cplusplus
 }
 #endif  /* __cplusplus */