From 7d68aac4a50ab4d4881832bc7de568c2b5d4ea8b Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 8 Jan 2018 21:39:21 -0500 Subject: Minor header cleanups --- bftw.h | 3 +++ cmdline.h | 6 +++--- eval.h | 6 +++--- expr.h | 6 +++--- 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/bftw.h b/bftw.h index 253c346..77148f1 100644 --- a/bftw.h +++ b/bftw.h @@ -92,6 +92,9 @@ struct BFTW { int at_flags; }; +/** + * Walk actions returned by the bftw() callback. + */ enum bftw_action { /** Keep walking. */ BFTW_CONTINUE, diff --git a/cmdline.h b/cmdline.h index e9731f9..b8d22d8 100644 --- a/cmdline.h +++ b/cmdline.h @@ -14,8 +14,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * ****************************************************************************/ -#ifndef CMDLINE_H -#define CMDLINE_H +#ifndef BFS_CMDLINE_H +#define BFS_CMDLINE_H #include "color.h" @@ -129,4 +129,4 @@ int eval_cmdline(const struct cmdline *cmdline); */ int free_cmdline(struct cmdline *cmdline); -#endif // CMDLINE_H +#endif // BFS_CMDLINE_H diff --git a/eval.h b/eval.h index f190703..5bf1682 100644 --- a/eval.h +++ b/eval.h @@ -14,8 +14,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * ****************************************************************************/ -#ifndef EVAL_H -#define EVAL_H +#ifndef BFS_EVAL_H +#define BFS_EVAL_H #include "expr.h" @@ -70,4 +70,4 @@ bool eval_and(const struct expr *expr, struct eval_state *state); bool eval_or(const struct expr *expr, struct eval_state *state); bool eval_comma(const struct expr *expr, struct eval_state *state); -#endif // EVAL_H +#endif // BFS_EVAL_H diff --git a/expr.h b/expr.h index 0cd08ce..5eff72f 100644 --- a/expr.h +++ b/expr.h @@ -14,8 +14,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * ****************************************************************************/ -#ifndef EXPR_H -#define EXPR_H +#ifndef BFS_EXPR_H +#define BFS_EXPR_H #include "color.h" #include "exec.h" @@ -229,4 +229,4 @@ void dump_expr(CFILE *cfile, const struct expr *expr, bool verbose); */ void free_expr(struct expr *expr); -#endif // EXPR_H +#endif // BFS_EXPR_H -- cgit v1.2.3