From 61f2b1f260de888ef25a86f35c3c3c4d013100a3 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 9 Dec 2014 14:39:11 +0000 Subject: Make ftrigr_startf data static const --- src/libs6/ftrigr_startf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libs6') diff --git a/src/libs6/ftrigr_startf.c b/src/libs6/ftrigr_startf.c index 28c81aa..ee89634 100644 --- 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) ; } -- cgit v1.2.3