diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2018-01-08 21:39:21 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2018-01-08 21:39:21 -0500 |
commit | 7d68aac4a50ab4d4881832bc7de568c2b5d4ea8b (patch) | |
tree | 5ed8c3c1958138daefd31d035945432d54088f79 | |
parent | 51da1abc549a6642a721371427b31f5990959fad (diff) | |
download | bfs-7d68aac4a50ab4d4881832bc7de568c2b5d4ea8b.tar.xz |
Minor header cleanups
-rw-r--r-- | bftw.h | 3 | ||||
-rw-r--r-- | cmdline.h | 6 | ||||
-rw-r--r-- | eval.h | 6 | ||||
-rw-r--r-- | expr.h | 6 |
4 files changed, 12 insertions, 9 deletions
@@ -92,6 +92,9 @@ struct BFTW { int at_flags; }; +/** + * Walk actions returned by the bftw() callback. + */ enum bftw_action { /** Keep walking. */ BFTW_CONTINUE, @@ -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 @@ -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 @@ -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 |