summaryrefslogtreecommitdiff
path: root/runit
diff options
context:
space:
mode:
Diffstat (limited to 'runit')
-rw-r--r--runit/runit_lib.c2
-rw-r--r--runit/runit_lib.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/runit/runit_lib.c b/runit/runit_lib.c
index fcb66c3..295b45f 100644
--- a/runit/runit_lib.c
+++ b/runit/runit_lib.c
@@ -382,7 +382,6 @@ int seek_set(int fd,seek_pos pos)
{
if (lseek(fd,(off_t) pos,SEEK_SET) == -1) return -1; return 0;
}
-#endif
/*** str_chr.c ***/
@@ -402,3 +401,4 @@ unsigned str_chr(const char *s,int c)
}
return t - s;
}
+#endif
diff --git a/runit/runit_lib.h b/runit/runit_lib.h
index 25aeeaf..1dadb6e 100644
--- a/runit/runit_lib.h
+++ b/runit/runit_lib.h
@@ -125,7 +125,7 @@ extern unsigned pmatch(const char *, const char *, unsigned);
/*** str.h ***/
-extern unsigned str_chr(const char *,int); /* never returns NULL */
+//extern unsigned str_chr(const char *,int); /* never returns NULL */
#define str_diff(s,t) strcmp((s), (t))
#define str_equal(s,t) (!strcmp((s), (t)))