mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipa-kdb: mark test functions as static
No need to define missing prototypes to single use test functions. Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Robbie Harwood <rharwood@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
committed by
Rob Crittenden
parent
3037de2820
commit
3fc75b15fa
@@ -181,7 +181,7 @@ extern krb5_error_code filter_logon_info(krb5_context context,
|
||||
krb5_data realm,
|
||||
struct PAC_LOGON_INFO_CTR *info);
|
||||
|
||||
void test_filter_logon_info(void **state)
|
||||
static void test_filter_logon_info(void **state)
|
||||
{
|
||||
krb5_error_code kerr;
|
||||
krb5_data realm = {KV5M_DATA, REALM_LEN, REALM};
|
||||
@@ -316,10 +316,7 @@ void test_filter_logon_info(void **state)
|
||||
|
||||
}
|
||||
|
||||
extern void get_authz_data_types(krb5_context context, krb5_db_entry *entry,
|
||||
bool *with_pac, bool *with_pad);
|
||||
|
||||
void test_get_authz_data_types(void **state)
|
||||
static void test_get_authz_data_types(void **state)
|
||||
{
|
||||
bool with_pac;
|
||||
bool with_pad;
|
||||
@@ -437,7 +434,7 @@ void test_get_authz_data_types(void **state)
|
||||
krb5_free_principal(test_ctx->krb5_ctx, non_nfs_princ);
|
||||
}
|
||||
|
||||
void test_string_to_sid(void **state)
|
||||
static void test_string_to_sid(void **state)
|
||||
{
|
||||
int ret;
|
||||
struct dom_sid sid;
|
||||
@@ -469,7 +466,7 @@ void test_string_to_sid(void **state)
|
||||
assert_memory_equal(&exp_sid, &sid, sizeof(struct dom_sid));
|
||||
}
|
||||
|
||||
void test_dom_sid_string(void **state)
|
||||
static void test_dom_sid_string(void **state)
|
||||
{
|
||||
struct test_ctx *test_ctx;
|
||||
char *str_sid;
|
||||
@@ -495,7 +492,7 @@ void test_dom_sid_string(void **state)
|
||||
}
|
||||
|
||||
|
||||
void test_check_trusted_realms(void **state)
|
||||
static void test_check_trusted_realms(void **state)
|
||||
{
|
||||
struct test_ctx *test_ctx;
|
||||
krb5_error_code kerr = 0;
|
||||
|
Reference in New Issue
Block a user