summaryrefslogtreecommitdiff
path: root/usr/src/lib/libnisdb/ldap_glob.h
diff options
context:
space:
mode:
authorRichard Lowe <richlowe@richlowe.net>2011-05-16 05:36:40 +0100
committerRichard Lowe <richlowe@richlowe.net>2011-07-02 22:17:59 -0400
commit99ca60379fe562da9431c6c0e75c93776936d04c (patch)
tree46daca358b04cb77a6dea77006199f37aa206054 /usr/src/lib/libnisdb/ldap_glob.h
parentae6373a21edd067445977ed155aa0af815a69f16 (diff)
downloadillumos-joyent-99ca60379fe562da9431c6c0e75c93776936d04c.tar.gz
libnisdb: Avoid deprecated string constant conversion
Diffstat (limited to 'usr/src/lib/libnisdb/ldap_glob.h')
-rw-r--r--usr/src/lib/libnisdb/ldap_glob.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/src/lib/libnisdb/ldap_glob.h b/usr/src/lib/libnisdb/ldap_glob.h
index 38a2ed67c2..3f6ca0288b 100644
--- a/usr/src/lib/libnisdb/ldap_glob.h
+++ b/usr/src/lib/libnisdb/ldap_glob.h
@@ -24,8 +24,6 @@
* All rights reserved.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#ifndef _LDAP_GLOB_H
#define _LDAP_GLOB_H
@@ -61,8 +59,8 @@ extern int endTransaction(int xid, nis_object *dirObj);
extern int addUpdate(log_entry_t type, char *name,
int numAttr, nis_attr *attr, nis_object *obj,
nis_object *oldDir, uint32_t ttime);
-extern int lockTransLog(char *msg, int wr, int trylock);
-extern void unlockTransLog(char *msg, int wr);
+extern int lockTransLog(const char *msg, int wr, int trylock);
+extern void unlockTransLog(const char *msg, int wr);
extern int __nis_lock_db_table(nis_name name, int readwrite,
int *trylock, char *msg);
extern int __nis_ulock_db_table(nis_name name, int readwrite,