mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 15:40:01 -06:00
extdom: internal functions should be static
Fixes following compilation warnings: ``` ipa_extdom_common.c:109:5: warning: no previous prototype for ‘__nss_to_err’ [-Wmissing-prototypes] 109 | int __nss_to_err(enum nss_status errcode) | ^~~~~~~~~~~~ ipa_extdom_common.c:738:5: warning: no previous prototype for ‘pack_ber_name_list’ [-Wmissing-prototypes] 738 | int pack_ber_name_list(struct extdom_req *req, char **fq_name_list, | ^~~~~~~~~~~~~~~~~~ ``` Reviewed-By: Alexander Bokovoy <abbra@users.noreply.github.com>
This commit is contained in:
parent
96cf293f1f
commit
f0c26fe094
@ -106,7 +106,7 @@ static int inc_buffer(size_t buf_max, size_t *_buf_len, char **_buf)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int __nss_to_err(enum nss_status errcode)
|
||||
static int __nss_to_err(enum nss_status errcode)
|
||||
{
|
||||
switch(errcode) {
|
||||
case NSS_STATUS_SUCCESS:
|
||||
@ -735,8 +735,8 @@ done:
|
||||
return ret;
|
||||
}
|
||||
|
||||
int pack_ber_name_list(struct extdom_req *req, char **fq_name_list,
|
||||
struct berval **berval)
|
||||
static int pack_ber_name_list(struct extdom_req *req, char **fq_name_list,
|
||||
struct berval **berval)
|
||||
{
|
||||
BerElement *ber = NULL;
|
||||
int ret;
|
||||
|
Loading…
Reference in New Issue
Block a user