Fix some more warnings

This commit is contained in:
Christian Ruppert 2012-02-12 20:37:05 +01:00
parent d9dc5dc423
commit 6913f1deb6
2 changed files with 2 additions and 2 deletions

View File

@ -492,7 +492,7 @@ rc_service_exists(const char *service)
{
char *file;
bool retval = false;
int len;
size_t len;
struct stat buf;
if (!service) {

View File

@ -75,7 +75,7 @@
#define WARN_TIMEOUT 10 /* warn about this every N seconds */
static const char *applet;
static char *service, *runlevel, *ibsave, *prefix;;
static char *service, *runlevel, *ibsave, *prefix;
static RC_DEPTREE *deptree;
static RC_STRINGLIST *applet_list, *services, *tmplist;
static RC_STRINGLIST *restart_services, *need_services, *use_services;