From 1ae4cb1e20f0a5a2198e72092dedb0ff73ac4801 Mon Sep 17 00:00:00 2001 From: Mark Beckwith Date: Mon, 10 Dec 2018 13:20:25 -0600 Subject: [PATCH] param: add NULL sentinel attr Signed-off-by: Mark Beckwith --- common/param.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/param.h b/common/param.h index 28665a0cb..b8214e077 100644 --- a/common/param.h +++ b/common/param.h @@ -40,7 +40,7 @@ struct command; * of named values. */ bool param(struct command *cmd, const char *buffer, - const jsmntok_t params[], ...); + const jsmntok_t params[], ...) LAST_ARG_NULL; /* * The callback signature. Callbacks must return true on success. On failure they