From: Jim Meyering Date: Thu, 13 Aug 1998 02:06:41 +0000 (+0000) Subject: Include filemode.h. X-Git-Tag: FILEUTILS-3_16u~73 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=461aea548a7fed9e7eadca861537f8ea7f53f2ba;p=platform%2Fupstream%2Fcoreutils.git Include filemode.h. --- diff --git a/src/chmod.c b/src/chmod.c index 429546f48..aa07e6cac 100644 --- a/src/chmod.c +++ b/src/chmod.c @@ -27,6 +27,7 @@ #include "closeout.h" #include "error.h" #include "savedir.h" +#include "filemode.h" enum Change_status { @@ -47,7 +48,6 @@ enum Verbosity V_off }; -void mode_string (); void strip_trailing_slashes (); static int change_dir_mode PARAMS ((const char *dir, diff --git a/src/ls.c b/src/ls.c index 46b771b36..d61266a89 100644 --- a/src/ls.c +++ b/src/ls.c @@ -72,6 +72,7 @@ #include "xstrtol.h" #include "strverscmp.h" #include "quotearg.h" +#include "filemode.h" #define obstack_chunk_alloc malloc #define obstack_chunk_free free @@ -132,8 +133,6 @@ struct bin_str time_t time (); #endif -void mode_string (); - char *getgroup (); char *getuser (); void strip_trailing_slashes (); @@ -2183,6 +2182,7 @@ print_long_format (const struct fileinfo *f) char *user_name; #if HAVE_ST_DM_MODE + /* Cray DMF: look at the file's migrated, not real, status */ mode_string (f->stat.st_dm_mode, modebuf); #else mode_string (f->stat.st_mode, modebuf);