From f68aa41476b0d7f43e85413fd08d7cfc8f916ea6 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Tue, 26 Oct 1999 14:20:22 +0000 Subject: [PATCH] ChangeLog, debugfs.c, debugfs.h: debugfs.h: Add declaration for do_features() debugfs.c: Add #incldue of e2p.h to fix gcc warnings. ChangeLog, message.c: message.c (safe_print): Make safe_print take an char instead of an unsigned char to fix gcc warnings. --- debugfs/ChangeLog | 6 ++++++ debugfs/debugfs.c | 1 + debugfs/debugfs.h | 8 +------- e2fsck/ChangeLog | 5 +++++ e2fsck/message.c | 2 +- 5 files changed, 14 insertions(+), 8 deletions(-) diff --git a/debugfs/ChangeLog b/debugfs/ChangeLog index 8db0d63..86149af 100644 --- a/debugfs/ChangeLog +++ b/debugfs/ChangeLog @@ -1,3 +1,9 @@ +1999-10-26 + + * debugfs.h: Add declaration for do_features() + + * debugfs.c: Add #incldue of e2p.h to fix gcc warnings. + 1999-10-25 * debugfs.c (do_dirty_filesys): Make the "dirty" command clear the diff --git a/debugfs/debugfs.c b/debugfs/debugfs.c index 3b3ce55..14459bd 100644 --- a/debugfs/debugfs.c +++ b/debugfs/debugfs.c @@ -34,6 +34,7 @@ extern int optreset; /* defined by BSD, but not others */ #include "ss/ss.h" #include "debugfs.h" #include "uuid/uuid.h" +#include "e2p/e2p.h" #include "../version.h" diff --git a/debugfs/debugfs.h b/debugfs/debugfs.h index 6ac13f9..f2917e1 100644 --- a/debugfs/debugfs.h +++ b/debugfs/debugfs.h @@ -70,10 +70,4 @@ extern void do_mkdir(int argc, char **argv); extern void do_rmdir(int argc, char **argv); extern void do_show_debugfs_params(int argc, char **argv); extern void do_expand_dir(int argc, char **argv); - - - - - - - +extern void do_features(int argc, char *argv[]); diff --git a/e2fsck/ChangeLog b/e2fsck/ChangeLog index c94de21..8665139 100644 --- a/e2fsck/ChangeLog +++ b/e2fsck/ChangeLog @@ -1,3 +1,8 @@ +1999-10-26 + + * message.c (safe_print): Make safe_print take an char instead of + an unsigned char to fix gcc warnings. + 1999-10-25 * util.c: For NT portability, don't redefine getchar(), since diff --git a/e2fsck/message.c b/e2fsck/message.c index a129f86..87ce118 100644 --- a/e2fsck/message.c +++ b/e2fsck/message.c @@ -135,7 +135,7 @@ static const char *special_inode_name[] = * This function does "safe" printing. It will convert non-printable * ASCII characters using '^' and M- notation. */ -static void safe_print(const unsigned char *cp, int len) +static void safe_print(const char *cp, int len) { unsigned char ch; -- 1.8.3.1