summaryrefslogtreecommitdiff
path: root/libc/unistd/usershell.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-11-17 10:55:29 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-11-17 10:55:29 +0100
commit5a2b42a48342ee59c9ee48d1632f040088609589 (patch)
tree88f3798222d56aa633920ca396b4d698770c9a3d /libc/unistd/usershell.c
parentdcf56488daa07aea35755532f0461d1921dcd416 (diff)
unistd: hide relocations
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/unistd/usershell.c')
-rw-r--r--libc/unistd/usershell.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/unistd/usershell.c b/libc/unistd/usershell.c
index 2a6b66504..261c1c10c 100644
--- a/libc/unistd/usershell.c
+++ b/libc/unistd/usershell.c
@@ -40,6 +40,8 @@ void endusershell(void)
shellb = NULL;
shells = NULL;
}
+libc_hidden_def(endusershell)
+
void setusershell(void)
{
endusershell();
@@ -61,6 +63,8 @@ void setusershell(void)
shells = (char **)shellb;
}
}
+libc_hidden_def(setusershell)
+
char *getusershell(void)
{
char *sh;