Fix some more warnings
This commit is contained in:
parent
d9dc5dc423
commit
6913f1deb6
@ -492,7 +492,7 @@ rc_service_exists(const char *service)
|
|||||||
{
|
{
|
||||||
char *file;
|
char *file;
|
||||||
bool retval = false;
|
bool retval = false;
|
||||||
int len;
|
size_t len;
|
||||||
struct stat buf;
|
struct stat buf;
|
||||||
|
|
||||||
if (!service) {
|
if (!service) {
|
||||||
|
@ -75,7 +75,7 @@
|
|||||||
#define WARN_TIMEOUT 10 /* warn about this every N seconds */
|
#define WARN_TIMEOUT 10 /* warn about this every N seconds */
|
||||||
|
|
||||||
static const char *applet;
|
static const char *applet;
|
||||||
static char *service, *runlevel, *ibsave, *prefix;;
|
static char *service, *runlevel, *ibsave, *prefix;
|
||||||
static RC_DEPTREE *deptree;
|
static RC_DEPTREE *deptree;
|
||||||
static RC_STRINGLIST *applet_list, *services, *tmplist;
|
static RC_STRINGLIST *applet_list, *services, *tmplist;
|
||||||
static RC_STRINGLIST *restart_services, *need_services, *use_services;
|
static RC_STRINGLIST *restart_services, *need_services, *use_services;
|
||||||
|
Loading…
Reference in New Issue
Block a user