From 1f0262bcdb352e9a75a4e5f48cd63d05714e2859 Mon Sep 17 00:00:00 2001 From: "\"Vladimir N. Oleynik\"" Date: Thu, 20 Oct 2005 11:17:48 +0000 Subject: another more const --- e2fsprogs/e2p/pf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'e2fsprogs/e2p/pf.c') diff --git a/e2fsprogs/e2p/pf.c b/e2fsprogs/e2p/pf.c index d1a1c4caa..2194ac6bf 100644 --- a/e2fsprogs/e2p/pf.c +++ b/e2fsprogs/e2p/pf.c @@ -24,7 +24,7 @@ struct flags_name { const char *long_name; }; -static struct flags_name flags_array[] = { +static const struct flags_name flags_array[] = { { EXT2_SECRM_FL, "s", "Secure_Deletion" }, { EXT2_UNRM_FL, "u" , "Undelete" }, { EXT2_SYNC_FL, "S", "Synchronous_Updates" }, @@ -50,7 +50,7 @@ static struct flags_name flags_array[] = { void print_flags (FILE * f, unsigned long flags, unsigned options) { int long_opt = (options & PFOPT_LONG); - struct flags_name *fp; + const struct flags_name *fp; int first = 1; for (fp = flags_array; fp->flag != 0; fp++) { -- cgit v1.2.3