mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-02 18:44:19 +00:00
lib: refactor func prototype seg6local_context2str (step1)
Make seg6local_context2str function's prototype better.
This function is added on commit e496b4203
, and function
interface's considering wasn't enough.
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
This commit is contained in:
parent
9dddf5fe69
commit
7a4b49bdd1
@ -76,7 +76,8 @@ int snprintf_seg6_segs(char *str,
|
||||
}
|
||||
|
||||
const char *seg6local_context2str(char *str, size_t size,
|
||||
struct seg6local_context *ctx, uint32_t action)
|
||||
const struct seg6local_context *ctx,
|
||||
uint32_t action)
|
||||
{
|
||||
char b0[128];
|
||||
|
||||
|
@ -119,9 +119,9 @@ static inline void *sid_copy(struct in6_addr *dst,
|
||||
const char *
|
||||
seg6local_action2str(uint32_t action);
|
||||
|
||||
const char *
|
||||
seg6local_context2str(char *str, size_t size,
|
||||
struct seg6local_context *ctx, uint32_t action);
|
||||
const char *seg6local_context2str(char *str, size_t size,
|
||||
const struct seg6local_context *ctx,
|
||||
uint32_t action);
|
||||
|
||||
int snprintf_seg6_segs(char *str,
|
||||
size_t size, const struct seg6_segs *segs);
|
||||
|
Loading…
Reference in New Issue
Block a user