diff options
author | Volker Lendecke <vlendec@samba.org> | 2005-02-17 14:27:34 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:55:40 -0500 |
commit | f51677051cc139bdeb9d66196ca5405cecce1a35 (patch) | |
tree | 536ceecd495b125ba73fa0bf622ac91ae5db71ae /source3/include | |
parent | bc10e4067a0c1985d81e3756c7dd7c23f09c1be0 (diff) | |
download | samba-f51677051cc139bdeb9d66196ca5405cecce1a35.tar.gz samba-f51677051cc139bdeb9d66196ca5405cecce1a35.tar.bz2 samba-f51677051cc139bdeb9d66196ca5405cecce1a35.zip |
r5428: Apply some const. LDAP attribs should now be declared const char *attr[]. This
gives some new warnings in smbldap.c, but a the callers are cleaned up.
Volker
(This used to be commit 543799fc0ddc3176469acc1fab7093c41556d403)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/smbldap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/smbldap.h b/source3/include/smbldap.h index adb51430dc..d005104dea 100644 --- a/source3/include/smbldap.h +++ b/source3/include/smbldap.h @@ -120,8 +120,8 @@ extern ATTRIB_MAP_ENTRY sidmap_attr_list[]; have to worry about LDAP structure types */ const char* get_attr_key2string( ATTRIB_MAP_ENTRY table[], int key ); -char** get_attr_list( ATTRIB_MAP_ENTRY table[] ); -void free_attr_list( char **list ); +const char** get_attr_list( ATTRIB_MAP_ENTRY table[] ); +void free_attr_list( const char **list ); void smbldap_set_mod (LDAPMod *** modlist, int modop, const char *attribute, const char *value); void smbldap_make_mod(LDAP *ldap_struct, LDAPMessage *existing, LDAPMod ***mods, |