aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2012-02-12 20:37:05 +0100
committerChristian Ruppert <idl0r@gentoo.org>2012-02-12 20:37:05 +0100
commit6913f1deb61b19ffa62614673794746caed443a7 (patch)
tree93f418b08639a6175893d207e0001695905385f7
parentd9dc5dc42314368a65579967c02af4945cb8c312 (diff)
Fix some more warnings
-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;