diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-09 14:39:11 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-09 14:39:11 +0000 |
commit | 61f2b1f260de888ef25a86f35c3c3c4d013100a3 (patch) | |
tree | b5977cde0884e96259a0a118ba5c448fd2e7d78b /src/libs6 | |
parent | 8a311cc5a9c7a151e9fc634ade08ce677b8bcc67 (diff) | |
download | s6-61f2b1f260de888ef25a86f35c3c3c4d013100a3.tar.xz |
Make ftrigr_startf data static const
Diffstat (limited to 'src/libs6')
-rw-r--r-- | src/libs6/ftrigr_startf.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) ; } |