Skip to content

Commit

Permalink
xlat args are static
Browse files Browse the repository at this point in the history
  • Loading branch information
ndptech committed Dec 18, 2023
1 parent 6636d49 commit 8a7c32c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/lib/eap_aka_sim/xlat.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,7 @@ static xlat_action_t aka_sim_id_3gpp_temporary_id_key_index_xlat(TALLOC_CTX *ctx
return XLAT_ACTION_DONE;
}

extern xlat_arg_parser_t aka_sim_3gpp_temporary_id_decrypt_xlat_args[];
xlat_arg_parser_t aka_sim_3gpp_temporary_id_decrypt_xlat_args[] = {
static xlat_arg_parser_t aka_sim_3gpp_temporary_id_decrypt_xlat_args[] = {
{ .required = true, .concat = true, .single = false, .type = FR_TYPE_STRING,
.func = NULL, .uctx = NULL },
{ .required = true, .concat = true, .single = false, .type = FR_TYPE_OCTETS,
Expand Down Expand Up @@ -325,8 +324,7 @@ static xlat_action_t aka_sim_3gpp_temporary_id_decrypt_xlat(TALLOC_CTX *ctx, fr_
return XLAT_ACTION_DONE;
}

extern xlat_arg_parser_t aka_sim_3gpp_temporary_id_encrypt_xlat_args[];
xlat_arg_parser_t aka_sim_3gpp_temporary_id_encrypt_xlat_args[] = {
static xlat_arg_parser_t aka_sim_3gpp_temporary_id_encrypt_xlat_args[] = {
{ .required = true, .concat = true, .single = false, .type = FR_TYPE_STRING },
{ .required = true, .concat = true, .single = false, .type = FR_TYPE_OCTETS },
{ .required = true, .concat = false, .single = true, .type = FR_TYPE_UINT8 },
Expand Down

0 comments on commit 8a7c32c

Please sign in to comment.