diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-12-20 23:40:57 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-12-20 23:40:57 +0000 |
commit | 16fdbe8b27ed5c435a64d5162222427ba76825dc (patch) | |
tree | 3503d3614cbb56cadc4005ce83410d730c50a00a | |
parent | a6cd07099d250ac4f0a7e88084d0470390405635 (diff) | |
download | busybox-w32-16fdbe8b27ed5c435a64d5162222427ba76825dc.tar.gz busybox-w32-16fdbe8b27ed5c435a64d5162222427ba76825dc.tar.bz2 busybox-w32-16fdbe8b27ed5c435a64d5162222427ba76825dc.zip |
Make more things be static (like they are supposed to be).
-rw-r--r-- | mkswap.c | 8 | ||||
-rw-r--r-- | util-linux/mkswap.c | 8 |
2 files changed, 8 insertions, 8 deletions
@@ -173,19 +173,19 @@ static int bit_test_and_clear(unsigned int *addr, unsigned int nr) | |||
173 | } | 173 | } |
174 | 174 | ||
175 | 175 | ||
176 | void die(const char *str) | 176 | static void die(const char *str) |
177 | { | 177 | { |
178 | error_msg("%s\n", str); | 178 | error_msg("%s\n", str); |
179 | exit(EXIT_FAILURE); | 179 | exit(EXIT_FAILURE); |
180 | } | 180 | } |
181 | 181 | ||
182 | void page_ok(int page) | 182 | static void page_ok(int page) |
183 | { | 183 | { |
184 | if (version == 0) | 184 | if (version == 0) |
185 | bit_set(signature_page, page); | 185 | bit_set(signature_page, page); |
186 | } | 186 | } |
187 | 187 | ||
188 | void page_bad(int page) | 188 | static void page_bad(int page) |
189 | { | 189 | { |
190 | if (version == 0) | 190 | if (version == 0) |
191 | bit_test_and_clear(signature_page, page); | 191 | bit_test_and_clear(signature_page, page); |
@@ -197,7 +197,7 @@ void page_bad(int page) | |||
197 | badpages++; | 197 | badpages++; |
198 | } | 198 | } |
199 | 199 | ||
200 | void check_blocks(void) | 200 | static void check_blocks(void) |
201 | { | 201 | { |
202 | unsigned int current_page; | 202 | unsigned int current_page; |
203 | int do_seek = 1; | 203 | int do_seek = 1; |
diff --git a/util-linux/mkswap.c b/util-linux/mkswap.c index 3a396894c..60ae2864d 100644 --- a/util-linux/mkswap.c +++ b/util-linux/mkswap.c | |||
@@ -173,19 +173,19 @@ static int bit_test_and_clear(unsigned int *addr, unsigned int nr) | |||
173 | } | 173 | } |
174 | 174 | ||
175 | 175 | ||
176 | void die(const char *str) | 176 | static void die(const char *str) |
177 | { | 177 | { |
178 | error_msg("%s\n", str); | 178 | error_msg("%s\n", str); |
179 | exit(EXIT_FAILURE); | 179 | exit(EXIT_FAILURE); |
180 | } | 180 | } |
181 | 181 | ||
182 | void page_ok(int page) | 182 | static void page_ok(int page) |
183 | { | 183 | { |
184 | if (version == 0) | 184 | if (version == 0) |
185 | bit_set(signature_page, page); | 185 | bit_set(signature_page, page); |
186 | } | 186 | } |
187 | 187 | ||
188 | void page_bad(int page) | 188 | static void page_bad(int page) |
189 | { | 189 | { |
190 | if (version == 0) | 190 | if (version == 0) |
191 | bit_test_and_clear(signature_page, page); | 191 | bit_test_and_clear(signature_page, page); |
@@ -197,7 +197,7 @@ void page_bad(int page) | |||
197 | badpages++; | 197 | badpages++; |
198 | } | 198 | } |
199 | 199 | ||
200 | void check_blocks(void) | 200 | static void check_blocks(void) |
201 | { | 201 | { |
202 | unsigned int current_page; | 202 | unsigned int current_page; |
203 | int do_seek = 1; | 203 | int do_seek = 1; |