aboutsummaryrefslogtreecommitdiff
path: root/src/librc/librc.c
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2012-01-25 11:42:32 -0600
committerWilliam Hubbs <williamh@gentoo.org>2012-02-21 07:27:16 -0600
commit3247184d860aea7ccc2c58d399f62c088978e973 (patch)
tree9e9796c75a8b9a7d758b391508e341d0eb55bbba /src/librc/librc.c
parent32c506a4c813b77f9cad4051409bac15f9696e14 (diff)
Remove prefix support
I spoke with the prefix team sometime back and was told that they do not have an interest in using OpenRC on prefix systems.
Diffstat (limited to 'src/librc/librc.c')
-rw-r--r--src/librc/librc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/librc/librc.c b/src/librc/librc.c
index d82880fb..ed601964 100644
--- a/src/librc/librc.c
+++ b/src/librc/librc.c
@@ -216,7 +216,6 @@ rc_sys_v2(void)
}
/* Now do detection */
__STRING_SWITCH(systype)
- __STRING_CASE(RC_SYS_PREFIX) { return RC_SYS_PREFIX; }
#ifdef __FreeBSD__
__STRING_CASE(RC_SYS_JAIL) { return RC_SYS_JAIL; }
#endif /* __FreeBSD__ */
@@ -246,10 +245,6 @@ librc_hidden_def(rc_sys_v2)
const char *
rc_sys_v1(void)
{
-#ifdef PREFIX
- return RC_SYS_PREFIX;
-#else
-
#ifdef __FreeBSD__
int jailed = 0;
size_t len = sizeof(jailed);
@@ -286,7 +281,6 @@ rc_sys_v1(void)
#endif
return NULL;
-#endif /* PREFIX */
}
librc_hidden_def(rc_sys_v1)