diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-02 17:33:24 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-02 17:33:24 +0000 |
commit | 68d51a361e41b19080a7f6c4ca10922b38270baa (patch) | |
tree | 5b0ec84f43c29284e73e0b04c3df9df2133abf9e | |
parent | 3ed11627ffeac20c70ebb6eeca5fd132ee0dac1b (diff) | |
download | coreutils-68d51a361e41b19080a7f6c4ca10922b38270baa.tar.xz |
Include <stdbool.h>.
(strip_trailing_slashes): Now returns bool.
-rw-r--r-- | lib/dirname.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/dirname.h b/lib/dirname.h index 1baceb63a..91479ad9a 100644 --- a/lib/dirname.h +++ b/lib/dirname.h @@ -19,6 +19,7 @@ #ifndef DIRNAME_H_ # define DIRNAME_H_ 1 +# include <stdbool.h> # include <stddef.h> # ifndef DIRECTORY_SEPARATOR @@ -41,6 +42,6 @@ char *dir_name (char const *path); size_t base_len (char const *path); size_t dir_len (char const *path); -int strip_trailing_slashes (char *path); +bool strip_trailing_slashes (char *path); #endif /* not DIRNAME_H_ */ |