param: add NULL sentinel attr

Signed-off-by: Mark Beckwith <wythe@intrig.com>
This commit is contained in:
Mark Beckwith 2018-12-10 13:20:25 -06:00 committed by Christian Decker
parent a6ca57c79a
commit 1ae4cb1e20

View File

@ -40,7 +40,7 @@ struct command;
* of named values. * of named values.
*/ */
bool param(struct command *cmd, const char *buffer, 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 * The callback signature. Callbacks must return true on success. On failure they