ctdb: Change the ctdb_vfork_exec prototype to const char*const*
commit83716809a8ff0057aa5ef58b6f951b8d5197c67f
authorVolker Lendecke <vl@samba.org>
Fri, 20 Sep 2024 00:54:57 +0000 (20 02:54 +0200)
committerMartin Schwenke <martins@samba.org>
Sun, 22 Sep 2024 09:36:36 +0000 (22 09:36 +0000)
treeb990249f8110277eb4b77dce0649121294e2eba2
parentcc76e2c7d7d2535a736420283a38a89f17f5c21e
ctdb: Change the ctdb_vfork_exec prototype to const char*const*

I could not find out how to cast a char ** to const char ** without
warning. This transfers fine to the execv call as well.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/include/ctdb_private.h
ctdb/server/ctdb_fork.c