aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/librc/librc.c2
-rw-r--r--src/rc/runscript.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/librc/librc.c b/src/librc/librc.c
index 13c19731..d82880fb 100644
--- a/src/librc/librc.c
+++ b/src/librc/librc.c
@@ -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) {
diff --git a/src/rc/runscript.c b/src/rc/runscript.c
index b0d80849..e504e4a9 100644
--- a/src/rc/runscript.c
+++ b/src/rc/runscript.c
@@ -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;