]> git.puffer.fish Git - matthieu/frr.git/commitdiff
lib: Remove old noop decoders
authorDonald Lee <dlqs@gmx.com>
Mon, 9 Aug 2021 20:39:15 +0000 (04:39 +0800)
committerQuentin Young <qlyoung@qlyoung.net>
Tue, 21 Nov 2023 01:45:02 +0000 (20:45 -0500)
Co-authored-by: Quentin Young <qlyoung@qlyoung.net>
Signed-off-by: Quentin Young <qlyoung@qlyoung.net>
Signed-off-by: Donald Lee <dlqs@gmx.com>
lib/frrlua.c
lib/frrlua.h

index e626efe20b65fc605db71a32da820fd90a48329a..720e95491ade69341af38294a3b2cc68fb2ad5fe 100644 (file)
@@ -345,21 +345,6 @@ void *lua_tostringp(lua_State *L, int idx)
        return string;
 }
 
-/*
- * Decoder for const values, since we cannot modify them.
- */
-void lua_decode_noop(lua_State *L, int idx, const void *ptr)
-{
-}
-
-
-/*
- * Noop decoder for int.
- */
-void lua_decode_integer_noop(lua_State *L, int idx, int i)
-{
-}
-
 /*
  * Logging.
  *
index d248312d625f46f3dcfbfac786016dd275cc7f1a..61fab328fe2baa15f89fe340be8623b9f00a3763 100644 (file)
@@ -143,13 +143,6 @@ void lua_decode_stringp(lua_State *L, int idx, char *str);
  */
 void *lua_tostringp(lua_State *L, int idx);
 
-/*
- * No-op decoders
- */
-void lua_decode_noop(lua_State *L, int idx, const void *ptr);
-
-void lua_decode_integer_noop(lua_State *L, int idx, int i);
-
 /*
  * Retrieve an integer from table on the top of the stack.
  *