From 36cf58c78594aed9fc79ab408d4a00e79e1ba483 Mon Sep 17 00:00:00 2001 From: Donald Lee Date: Sat, 24 Jul 2021 03:41:12 +0800 Subject: [PATCH] lib: Rename decode_int Signed-off-by: Donald Lee --- lib/frrlua.c | 2 +- lib/frrlua.h | 2 +- lib/frrscript.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/frrlua.c b/lib/frrlua.c index 710d9ece00..5d0732eac0 100644 --- a/lib/frrlua.c +++ b/lib/frrlua.c @@ -313,7 +313,7 @@ void lua_decode_noop(lua_State *L, int idx, const void *ptr) /* * Noop decoder for int. */ -void lua_decode_int_noop(lua_State *L, int idx, int i) +void lua_decode_integer_noop(lua_State *L, int idx, int i) { } diff --git a/lib/frrlua.h b/lib/frrlua.h index d7668abca0..98bff00fd6 100644 --- a/lib/frrlua.h +++ b/lib/frrlua.h @@ -166,7 +166,7 @@ void *lua_tostringp(lua_State *L, int idx); */ void lua_decode_noop(lua_State *L, int idx, const void *ptr); -void lua_decode_int_noop(lua_State *L, int idx, int i); +void lua_decode_integer_noop(lua_State *L, int idx, int i); /* * Retrieve an integer from table on the top of the stack. diff --git a/lib/frrscript.h b/lib/frrscript.h index 905ffe1623..fba124909a 100644 --- a/lib/frrscript.h +++ b/lib/frrscript.h @@ -176,7 +176,7 @@ const struct prefix * : lua_pushprefix \ #define DECODE_ARGS_WITH_STATE(L, value) \ _Generic((value), \ -int : lua_decode_int_noop, \ +int : lua_decode_integer_noop, \ long long * : lua_decode_integerp, \ struct prefix * : lua_decode_prefix, \ struct interface * : lua_decode_interface, \ -- 2.39.5