summaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2020-09-30 16:03:29 -0400
committerTavian Barnes <tavianator@tavianator.com>2020-09-30 16:13:55 -0400
commit04445b6bff02da758a87a48c19ee4963aba62f15 (patch)
treecc682e59fb8cad80b94c6ae7c8be375f2e383cfd /util.h
parentffda15423b9920377c8af97e208f9d78b5c80d91 (diff)
downloadbfs-04445b6bff02da758a87a48c19ee4963aba62f15.tar.xz
util: Don't rely on bftw
And rename format_mode() to xstrmode() while I'm at it.
Diffstat (limited to 'util.h')
-rw-r--r--util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.h b/util.h
index 6e7c1f2..b10e0e4 100644
--- a/util.h
+++ b/util.h
@@ -166,7 +166,7 @@ char *xregerror(int err, const regex_t *regex);
* @param str
* The string to hold the formatted mode.
*/
-void format_mode(mode_t mode, char str[11]);
+void xstrmode(mode_t mode, char str[11]);
/**
* basename() variant that doesn't modify the input.