diff options
Diffstat (limited to 'color.h')
-rw-r--r-- | color.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -13,7 +13,6 @@ #define BFS_COLOR_H #include "bftw.h" -#include <sys/stat.h> /** * A lookup table for colors. @@ -36,10 +35,10 @@ color_table *parse_colors(char *ls_colors); * The color table to use. * @param fpath * The file path to print. - * @param sb - * A stat() buffer for fpath. + * @param ftwbuf + * The bftw() data for fpath. */ -void pretty_print(const color_table *colors, const char *fpath, const struct stat *sb); +void pretty_print(const color_table *colors, const char *fpath, const struct BFTW *ftwbuf); /** * Pretty-print an error. |