diff options
author | Doug Freed <dwfreed@mtu.edu> | 2015-03-24 19:28:47 +0000 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2015-03-24 19:08:29 -0500 |
commit | f085ae400c60289f61d99e9e80ce037beedf38b4 (patch) | |
tree | d3f0e1ab3a88bac130b06d2ad1f854bfe6abac23 /src/rc/rc.c | |
parent | c1faafcad8197a821282b8e56a10132e27eb5d9f (diff) |
Fix some compiler warnings
librc: Fix C90 warning (mixed declaration and code)
rc: Fix warning about discarding const qualifier
Fixes #45.
Diffstat (limited to 'src/rc/rc.c')
-rw-r--r-- | src/rc/rc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/rc.c b/src/rc/rc.c index e3301c6c..dd35482f 100644 --- a/src/rc/rc.c +++ b/src/rc/rc.c @@ -519,7 +519,7 @@ runlevel_config(const char *service, const char *level) } static void -do_stop_services(const RC_STRINGLIST *types_n, const RC_STRINGLIST *start_services, +do_stop_services(RC_STRINGLIST *types_n, RC_STRINGLIST *start_services, const RC_STRINGLIST *stop_services, const RC_DEPTREE *deptree, const char *newlevel, bool parallel, bool going_down) { |