2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 22:35:10 +00:00

Make all functions in ldap.c static

This commit is contained in:
Todd C. Miller
2010-06-14 10:37:42 -04:00
parent 93d48cfc60
commit 3430618c78
2 changed files with 36 additions and 35 deletions

View File

@@ -209,19 +209,6 @@ int verify_user(struct passwd *, char *);
int auth_begin_session(struct passwd *);
int auth_end_session();
#ifdef HAVE_LDAP
/* ldap.c */
int sudo_ldap_open(struct sudo_nss *);
int sudo_ldap_close(struct sudo_nss *);
int sudo_ldap_setdefs(struct sudo_nss *);
int sudo_ldap_lookup(struct sudo_nss *, int, int);
int sudo_ldap_parse(struct sudo_nss *);
int sudo_ldap_display_cmnd(struct sudo_nss *, struct passwd *);
int sudo_ldap_display_defaults(struct sudo_nss *, struct passwd *, struct lbuf *);
int sudo_ldap_display_bound_defaults(struct sudo_nss *, struct passwd *, struct lbuf *);
int sudo_ldap_display_privs(struct sudo_nss *, struct passwd *, struct lbuf *);
#endif
/* parse.c */
int sudo_file_open(struct sudo_nss *);
int sudo_file_close(struct sudo_nss *);