From e843c760166498221cabb5b9c44cf7c34bee2515 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sat, 18 Aug 2001 14:22:25 -0400 Subject: [PATCH] Minor fixups to Andreas' changeset. Removed unused variable from tune2fs and added missing function prototype. --- misc/ChangeLog | 9 +++++++++ misc/get_device_by_label.h | 1 + misc/tune2fs.c | 1 - 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/misc/ChangeLog b/misc/ChangeLog index 8cf5339..1c9410a 100644 --- a/misc/ChangeLog +++ b/misc/ChangeLog @@ -1,3 +1,12 @@ +2001-08-18 Theodore Tso + + * tune2fs.c (remove_journal_device): Remove unused variable + check_uuid. + + * get_device_by_label.h: Define function prototype for + copy_string(), since this was moved from fsck.c to + get_device_by_label.c by Andreas's BK changeset. + 2001-08-17 Andreas Dilger * get_device_by_label.[ch], fsck.c, util.c: New interpret_spec() diff --git a/misc/get_device_by_label.h b/misc/get_device_by_label.h index 79b1499..516991f 100644 --- a/misc/get_device_by_label.h +++ b/misc/get_device_by_label.h @@ -8,6 +8,7 @@ * License. */ +extern char *string_copy(const char *s); extern char *get_spec_by_uuid(const char *uuid); extern char *get_spec_by_volume_label(const char *volumelabel); extern const char *get_volume_label_by_spec(const char *spec); diff --git a/misc/tune2fs.c b/misc/tune2fs.c index 1acb463..e68d132 100644 --- a/misc/tune2fs.c +++ b/misc/tune2fs.c @@ -102,7 +102,6 @@ static void remove_journal_device(ext2_filsys fs) int i, nr_users; errcode_t retval; int commit_remove_journal = 0; - int check_uuid = 1; if (f_flag) commit_remove_journal = 1; /* force removal even if error */ -- 1.8.3.1