summaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorRob Landley2006-09-12 21:42:17 +0000
committerRob Landley2006-09-12 21:42:17 +0000
commit20cc6d567f8cc21405ab05ca62a6955a5b1277b5 (patch)
treed8f7b3cd70149f3e0e291cc10a14c06917d34cb5 /archival
parent1b2b5cfba81aab3e56d374ee3dcee97cde4bcb4e (diff)
downloadbusybox-20cc6d567f8cc21405ab05ca62a6955a5b1277b5.zip
busybox-20cc6d567f8cc21405ab05ca62a6955a5b1277b5.tar.gz
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 7be94e1..a7f5ce4 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 8c466eb..cbcbcef 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;