diff options
author | Donald Lee <dlqs@gmx.com> | 2021-07-23 21:41:12 +0200 |
---|---|---|
committer | Donald Lee <dlqs@gmx.com> | 2021-07-23 21:41:40 +0200 |
commit | 36cf58c78594aed9fc79ab408d4a00e79e1ba483 (patch) | |
tree | ad09f9e5f94f8d352938120c27f99631f41045fb | |
parent | lib: zlog err in error cases during lua loading (diff) | |
download | frr-36cf58c78594aed9fc79ab408d4a00e79e1ba483.tar.xz frr-36cf58c78594aed9fc79ab408d4a00e79e1ba483.zip |
lib: Rename decode_int
Signed-off-by: Donald Lee <dlqs@gmx.com>
-rw-r--r-- | lib/frrlua.c | 2 | ||||
-rw-r--r-- | lib/frrlua.h | 2 | ||||
-rw-r--r-- | lib/frrscript.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/frrlua.c b/lib/frrlua.c index 710d9ece0..5d0732eac 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 d7668abca..98bff00fd 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 905ffe162..fba124909 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, \ |