summaryrefslogtreecommitdiffstats
path: root/color.h
diff options
context:
space:
mode:
Diffstat (limited to 'color.h')
-rw-r--r--color.h7
1 files changed, 3 insertions, 4 deletions
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 <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.