diff options
author | Christos Zoulas <christos@zoulas.com> | 2019-05-06 21:22:13 +0000 |
---|---|---|
committer | Christos Zoulas <christos@zoulas.com> | 2019-05-06 21:22:13 +0000 |
commit | d232c0289d91d29d77f9338496172558f9453980 (patch) | |
tree | 6636f2822d1bb112eaab6495810f669086319366 /src/file.h | |
parent | 68cbd25c6b19c93c17f826c1b9113e459c274627 (diff) | |
download | file-git-d232c0289d91d29d77f9338496172558f9453980.tar.gz |
- Add a file_separator function that prints the separator.
- Don't append a separator after ascmagic since this is the last test.
Diffstat (limited to 'src/file.h')
-rw-r--r-- | src/file.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -27,7 +27,7 @@ */ /* * file.h - definitions for file(1) program - * @(#)$File: file.h,v 1.204 2019/03/28 20:54:57 christos Exp $ + * @(#)$File: file.h,v 1.205 2019/05/06 21:22:13 christos Exp $ */ #ifndef __file_h__ @@ -460,6 +460,7 @@ protected int file_fsmagic(struct magic_set *, const char *, struct stat *); protected int file_pipe2file(struct magic_set *, int, const void *, size_t); protected int file_vprintf(struct magic_set *, const char *, va_list) __attribute__((__format__(__printf__, 2, 0))); +protected int file_separator(struct magic_set *); protected size_t file_printedlen(const struct magic_set *); protected int file_replace(struct magic_set *, const char *, const char *); protected int file_printf(struct magic_set *, const char *, ...) |