diff options
| author | Richard Lowe <richlowe@richlowe.net> | 2011-05-16 05:36:40 +0100 |
|---|---|---|
| committer | Richard Lowe <richlowe@richlowe.net> | 2011-05-16 05:36:40 +0100 |
| commit | 8d0852b7f8176b2c281cc944010af2b0fecf9fb2 (patch) | |
| tree | e6cf535577a7a2eb454ae0b9646e1a6e5f2d9733 /usr/src/lib/libnisdb/ldap_glob.c | |
| parent | dc1b2a8843179c41c1dca003fe3e4a8a652cef6b (diff) | |
| download | illumos-joyent-8d0852b7f8176b2c281cc944010af2b0fecf9fb2.tar.gz | |
2023 libnisdb is inconsistently const-y
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Joshua M. Clulow <josh@sysmgr.org>
Approved by: Gordon Ross <gwr@nexenta.com>
Diffstat (limited to 'usr/src/lib/libnisdb/ldap_glob.c')
| -rw-r--r-- | usr/src/lib/libnisdb/ldap_glob.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/usr/src/lib/libnisdb/ldap_glob.c b/usr/src/lib/libnisdb/ldap_glob.c index e422336b77..8337d06792 100644 --- a/usr/src/lib/libnisdb/ldap_glob.c +++ b/usr/src/lib/libnisdb/ldap_glob.c @@ -24,8 +24,6 @@ * All rights reserved. */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include "ldap_glob.h" /* These are the local versions we use if the app doesn't provide overrides */ @@ -71,23 +69,23 @@ __local_addUpdate(log_entry_t type, char *name, int numAttr, nis_attr *attr, } int -__local_lockTransLog(char *msg, int wr, int trylock) { +__local_lockTransLog(const char *msg, int wr, int trylock) { return (0); } void -__local_unlockTransLog(char *msg, int wr) { +__local_unlockTransLog(const char *msg, int wr) { } int __local__nis_lock_db_table(nis_name name, int readwrite, int *trylock, - char *msg) { + const char *msg) { return (1); } int __local__nis_ulock_db_table(nis_name name, int readwrite, int remove, - char *msg) { + const char *msg) { return (1); } |
