summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-01-26 10:37:39 -0500
committerDonald Sharp <sharpd@nvidia.com>2023-01-26 11:40:33 -0500
commit08c3dba71902b62f32f526527adf0d28569bdb02 (patch)
tree59156b23880969535b5901670b52f65068b88a22
parent1596fa9c2f17a18c2ee3f08d645b504bf7bf6c07 (diff)
lib: Forward declaration of a struct does not need to have data type
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
-rw-r--r--lib/frrscript.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/frrscript.h b/lib/frrscript.h
index 7fa01f70d1..afaab66f1b 100644
--- a/lib/frrscript.h
+++ b/lib/frrscript.h
@@ -34,7 +34,7 @@ extern "C" {
#endif
/* Forward declarations */
-extern struct zebra_dplane_ctx ctx;
+struct zebra_dplane_ctx;
extern void lua_pushzebra_dplane_ctx(lua_State *L,
const struct zebra_dplane_ctx *ctx);
extern void lua_decode_zebra_dplane_ctx(lua_State *L, int idx,