summaryrefslogtreecommitdiff
path: root/usr/src/lib/libnisdb/db_index_entry_c.c
diff options
context:
space:
mode:
authorGary Mills <gary_mills@fastmail.fm>2015-08-06 15:26:53 -0500
committerDan McDonald <danmcd@omniti.com>2015-08-06 22:16:40 -0400
commita87701e9837f8a9ee9e4c4d3186295c0e29f743f (patch)
tree8446d4bf027fa655e5ee8c9ac498d1450f2100af /usr/src/lib/libnisdb/db_index_entry_c.c
parentfaa2b6be2fc102adf9ed584fc1a667b4ddf50d78 (diff)
downloadillumos-gate-a87701e9837f8a9ee9e4c4d3186295c0e29f743f.tar.gz
5910 libnisdb won't build with modern GCC
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: "Toomas Soome" <tsoome@me.com> Approved by: Dan McDonald <danmcd@omniti.com>
Diffstat (limited to 'usr/src/lib/libnisdb/db_index_entry_c.c')
-rw-r--r--usr/src/lib/libnisdb/db_index_entry_c.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr/src/lib/libnisdb/db_index_entry_c.c b/usr/src/lib/libnisdb/db_index_entry_c.c
index 0a8067782a..f1ea9e6921 100644
--- a/usr/src/lib/libnisdb/db_index_entry_c.c
+++ b/usr/src/lib/libnisdb/db_index_entry_c.c
@@ -19,13 +19,16 @@
*
* CDDL HEADER END
*/
+
+/*
+ * Copyright 2015 Gary Mills
+ */
+
/*
* This is a non-recursive version of XDR routine used for db_index_entry
* type.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/types.h>
#include <sys/syslog.h>
#include <stdio.h>
@@ -34,6 +37,7 @@
#include <memory.h>
#include "db_index_entry_c.h"
#include "db_table_c.h"
+#include "xdr_nullptr.h"
bool_t
xdr_db_index_entry(xdrs, objp)