From 2199c8b55dcd34334ef71f12707e17704f1b3d10 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 2 Sep 2015 11:34:46 -0400 Subject: Print the root file/directory too. --- color.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'color.h') diff --git a/color.h b/color.h index 1432072..ad2b53c 100644 --- a/color.h +++ b/color.h @@ -13,7 +13,6 @@ #define BFS_COLOR_H #include "bftw.h" -#include /** * 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. -- cgit v1.2.3