s6

Mirror/fork of https://skarnet.org/software/s6/
git clone https://ccx.te2000.cz/git/s6
Log | Files | Refs | README | LICENSE

commit 61f2b1f260de888ef25a86f35c3c3c4d013100a3
parent 8a311cc5a9c7a151e9fc634ade08ce677b8bcc67
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Tue,  9 Dec 2014 14:39:11 +0000

Make ftrigr_startf data static const

Diffstat:
Msrc/libs6/ftrigr_startf.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libs6/ftrigr_startf.c b/src/libs6/ftrigr_startf.c @@ -6,7 +6,7 @@ int ftrigr_startf (ftrigr_ref a, tain_t const *deadline, tain_t *stamp) { - char const *cargv[2] = { FTRIGRD_PROG, 0 } ; - char const *cenvp[1] = { 0 } ; + static char const *const cargv[2] = { FTRIGRD_PROG, 0 } ; + static char const *const cenvp[1] = { 0 } ; return skaclient_startf_b(&a->connection, &a->buffers, cargv[0], cargv, cenvp, SKACLIENT_OPTION_WAITPID, FTRIGR_BANNER1, FTRIGR_BANNER1_LEN, FTRIGR_BANNER2, FTRIGR_BANNER2_LEN, deadline, stamp) ; }