summaryrefslogtreecommitdiff
path: root/loginutils/getty.c
diff options
context:
space:
mode:
authorEric Andersen2005-04-16 19:39:00 +0000
committerEric Andersen2005-04-16 19:39:00 +0000
commit14f5c8d764ab7429367feb407ab86191054e6a8a (patch)
tree2aa792b8a9d8f7af365c456f19f34a963236c26d /loginutils/getty.c
parenta77b4f39708306d44058d7ca1683f448f51c5fce (diff)
downloadbusybox-14f5c8d764ab7429367feb407ab86191054e6a8a.zip
busybox-14f5c8d764ab7429367feb407ab86191054e6a8a.tar.gz
Patch from Bernhard Fischer to make a bunch of symbols static
which were otherwise cluttering the global namespace.
Diffstat (limited to 'loginutils/getty.c')
-rw-r--r--loginutils/getty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loginutils/getty.c b/loginutils/getty.c
index a9ef561..3dd6258 100644
--- a/loginutils/getty.c
+++ b/loginutils/getty.c
@@ -151,7 +151,7 @@ struct options {
/* Storage for things detected while the login name was read. */
-struct chardata {
+static struct chardata {
int erase; /* erase character */
int kill; /* kill character */
int eol; /* end-of-line character */
@@ -161,7 +161,7 @@ struct chardata {
/* Initial values for the above. */
-struct chardata init_chardata = {
+static struct chardata init_chardata = {
DEF_ERASE, /* default erase character */
DEF_KILL, /* default kill character */
13, /* default eol char */