Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-09-13 01:42:17 +0400
committerRob Landley <rob@landley.net>2006-09-13 01:42:17 +0400
commit20cc6d567f8cc21405ab05ca62a6955a5b1277b5 (patch)
treed8f7b3cd70149f3e0e291cc10a14c06917d34cb5 /archival
parent1b2b5cfba81aab3e56d374ee3dcee97cde4bcb4e (diff)
Remove pointless "const". Bloatcheck says 0 bytes difference.
Diffstat (limited to 'archival')
-rw-r--r--archival/gunzip.c4
-rw-r--r--archival/uncompress.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/archival/gunzip.c b/archival/gunzip.c
index 7be94e1b8..a7f5ce481 100644
--- a/archival/gunzip.c
+++ b/archival/gunzip.c
@@ -48,8 +48,8 @@ int gunzip_main(int argc, char **argv)
do {
struct stat stat_buf;
- const char *old_path = argv[optind];
- const char *delete_path = NULL;
+ char *old_path = argv[optind];
+ char *delete_path = NULL;
char *new_path = NULL;
int src_fd;
int dst_fd;
diff --git a/archival/uncompress.c b/archival/uncompress.c
index 8c466ebdf..cbcbcefed 100644
--- a/archival/uncompress.c
+++ b/archival/uncompress.c
@@ -19,8 +19,8 @@ int uncompress_main(int argc, char **argv)
flags = bb_getopt_ulflags(argc, argv, "cf");
while (optind < argc) {
- const char *compressed_file = argv[optind++];
- const char *delete_path = NULL;
+ char *compressed_file = argv[optind++];
+ char *delete_path = NULL;
char *uncompressed_file = NULL;
int src_fd;
int dst_fd;