diff options
author | Jim Meyering <jim@meyering.net> | 1998-08-13 02:06:41 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-08-13 02:06:41 +0000 |
commit | 461aea548a7fed9e7eadca861537f8ea7f53f2ba (patch) | |
tree | cc7b4a1f4ebd53c5d1f23b797a924cacc20f96e4 | |
parent | e31691fc1d754b1222957a57fa02332bbd6d8914 (diff) | |
download | coreutils-461aea548a7fed9e7eadca861537f8ea7f53f2ba.tar.xz |
Include filemode.h.
-rw-r--r-- | src/chmod.c | 2 | ||||
-rw-r--r-- | src/ls.c | 4 |
2 files changed, 3 insertions, 3 deletions
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, @@ -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); |