summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nslcd/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nslcd/common.h b/nslcd/common.h
index 6013fa0..1219066 100644
--- a/nslcd/common.h
+++ b/nslcd/common.h
@@ -81,7 +81,7 @@ MUST_USE int isvalidname(const char *name);
/* Perform an LDAP lookup to translate the DN into a uid.
This function either returns NULL or a strdup()ed string. */
-char *lookup_dn2uid(MYLDAP_SESSION *session,const char *dn,int *rcp);
+MUST_USE char *lookup_dn2uid(MYLDAP_SESSION *session,const char *dn,int *rcp);
/* transforms the DN info a uid doing an LDAP lookup if needed */
MUST_USE char *dn2uid(MYLDAP_SESSION *session,const char *dn,char *buf,size_t buflen);