Skip to content
Snippets Groups Projects
Commit 12b0d07b authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

fix glibc complain

parent 6ffb8bc0
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ int ssexec_reload(int argc, char const *const *argv, ssexec_t *info)
uint8_t siglen = 2 ;
graph_t graph = GRAPH_ZERO ;
unsigned int areslen = 0, list[SS_MAX_SERVICE], nservice = 0 ;
unsigned int areslen = 0 ;
resolve_service_t ares[SS_MAX_SERVICE] ;
char atree[SS_MAX_TREENAME + 1] ;
......
......@@ -37,7 +37,7 @@ int ssexec_restart(int argc, char const *const *argv, ssexec_t *info)
uint8_t siglen = 3 ;
graph_t graph = GRAPH_ZERO ;
unsigned int areslen = 0, list[SS_MAX_SERVICE], nservice = 0, n = 0 ;
unsigned int areslen = 0, n = 0 ;
resolve_service_t ares[SS_MAX_SERVICE] ;
char atree[SS_MAX_TREENAME + 1] ;
......
......@@ -312,7 +312,7 @@ static void tree_parse_options_depends(graph_t *g, ssexec_t *info, char const *s
int nwhat = what->noseed ? 2 : 0 ;
int nargc = 3 + nwhat ;
char *prog = PROG ;
char const *prog = PROG ;
char const *newargv[nargc] ;
uint8_t m = 0 ;
newargv[m++] = "tree (child)" ;
......
......@@ -39,7 +39,7 @@ void sanitize_source(char const *name, ssexec_t *info, uint32_t flag)
int argc = 3 ;
int m = 0 ;
char *prog = PROG ;
char const *prog = PROG ;
char const *newargv[argc] ;
newargv[m++] = "parse" ;
......@@ -55,7 +55,7 @@ void sanitize_source(char const *name, ssexec_t *info, uint32_t flag)
int argc = 4 ;
int m = 0 ;
char *prog = PROG ;
char const *prog = PROG ;
char const *newargv[argc] ;
newargv[m++] = "parse" ;
......
......@@ -165,7 +165,7 @@ int sanitize_system(ssexec_t *info)
newargv[m++] = SS_DEFAULT_TREENAME ;
newargv[m++] = 0 ;
char *prog = PROG ;
char const *prog = PROG ;
PROG = "tree" ;
if (ssexec_tree(nargc, newargv, info))
......
......@@ -74,7 +74,7 @@ int tree_sethome(ssexec_t *info)
newargv[m++] = info->treename.s ;
newargv[m++] = 0 ;
char *prog = PROG ;
char const *prog = PROG ;
PROG = "tree" ;
if (ssexec_tree(nargc, newargv, info))
log_warnu_return(LOG_EXIT_ZERO,"create tree: ",info->treename.s) ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment