summaryrefslogtreecommitdiff
path: root/lib/frrlua.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/frrlua.h')
-rw-r--r--lib/frrlua.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/frrlua.h b/lib/frrlua.h
index 37e8e8635b..029e6ecee8 100644
--- a/lib/frrlua.h
+++ b/lib/frrlua.h
@@ -37,12 +37,12 @@ extern "C" {
*
* Additionally sets the global variable "prefix" to point at this table.
*/
-void frrlua_newtable_prefix(lua_State *L, const struct prefix *prefix);
+int frrlua_newtable_prefix(lua_State *L, const struct prefix *prefix);
/*
* Pushes a new table containing relevant fields from an interface structure.
*/
-void frrlua_newtable_interface(lua_State *L, const struct interface *ifp);
+int frrlua_newtable_interface(lua_State *L, const struct interface *ifp);
/*
* Retrieve a string from table on the top of the stack.