doc: develop: commands: Fix function prototype
authorAlexander Dahl <ada@thorsis.com>
Mon, 26 Feb 2024 15:46:43 +0000 (16:46 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 13 Mar 2024 07:09:23 +0000 (08:09 +0100)
commit27987b86a0a45849c1f6110252ec15b413caf34c
tree60e541d8594dae67b32d4c19dfab5e5117bb960c
parent1431ab8b6c1e215419391c0966e24933f173a58f
doc: develop: commands: Fix function prototype

When using the previous prototype you got a compiler warning like this:

    warning: initialization of 'int (*)(struct cmd_tbl *, int,  int,  char * const*)' from incompatible pointer type 'int (*)(struct cmd_tbl *, int,  int,  const char **)' [-Wincompatible-pointer-types]

Fixes: 3d9640f55cb2 ("doc: expand README.commands")
Signed-off-by: Alexander Dahl <ada@thorsis.com>
doc/develop/commands.rst