diff options
author | Eric Andersen <andersen@codepoet.org> | 2005-04-16 19:39:00 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2005-04-16 19:39:00 +0000 |
commit | 14f5c8d764ab7429367feb407ab86191054e6a8a (patch) | |
tree | 2aa792b8a9d8f7af365c456f19f34a963236c26d /loginutils/getty.c | |
parent | a77b4f39708306d44058d7ca1683f448f51c5fce (diff) | |
download | busybox-w32-14f5c8d764ab7429367feb407ab86191054e6a8a.tar.gz busybox-w32-14f5c8d764ab7429367feb407ab86191054e6a8a.tar.bz2 busybox-w32-14f5c8d764ab7429367feb407ab86191054e6a8a.zip |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/loginutils/getty.c b/loginutils/getty.c index a9ef561fa..3dd6258c5 100644 --- a/loginutils/getty.c +++ b/loginutils/getty.c | |||
@@ -151,7 +151,7 @@ struct options { | |||
151 | 151 | ||
152 | /* Storage for things detected while the login name was read. */ | 152 | /* Storage for things detected while the login name was read. */ |
153 | 153 | ||
154 | struct chardata { | 154 | static struct chardata { |
155 | int erase; /* erase character */ | 155 | int erase; /* erase character */ |
156 | int kill; /* kill character */ | 156 | int kill; /* kill character */ |
157 | int eol; /* end-of-line character */ | 157 | int eol; /* end-of-line character */ |
@@ -161,7 +161,7 @@ struct chardata { | |||
161 | 161 | ||
162 | /* Initial values for the above. */ | 162 | /* Initial values for the above. */ |
163 | 163 | ||
164 | struct chardata init_chardata = { | 164 | static struct chardata init_chardata = { |
165 | DEF_ERASE, /* default erase character */ | 165 | DEF_ERASE, /* default erase character */ |
166 | DEF_KILL, /* default kill character */ | 166 | DEF_KILL, /* default kill character */ |
167 | 13, /* default eol char */ | 167 | 13, /* default eol char */ |