summaryrefslogtreecommitdiff
path: root/src/file.h
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2020-09-05 14:15:42 +0000
committerChristos Zoulas <christos@zoulas.com>2020-09-05 14:15:42 +0000
commitc69f99bd08ccf747d815f225358b3710fbebae20 (patch)
tree836068253c23d6161ef97730878e91f7c2aa462b /src/file.h
parent8220981557cfd23dc432f984bec549abc0cd9f69 (diff)
downloadfile-git-c69f99bd08ccf747d815f225358b3710fbebae20.tar.gz
PR/189: neal: Save and restore the contiuation levels around match in "use".
Diffstat (limited to 'src/file.h')
-rw-r--r--src/file.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/file.h b/src/file.h
index 8fb9e060..f00e8010 100644
--- a/src/file.h
+++ b/src/file.h
@@ -27,7 +27,7 @@
*/
/*
* file.h - definitions for file(1) program
- * @(#)$File: file.h,v 1.221 2020/08/14 13:37:10 christos Exp $
+ * @(#)$File: file.h,v 1.222 2020/09/05 14:15:42 christos Exp $
*/
#ifndef __file_h__
@@ -410,14 +410,16 @@ struct level_info {
#endif
};
+struct cont {
+ size_t len;
+ struct level_info *li;
+};
+
#define MAGIC_SETS 2
struct magic_set {
struct mlist *mlist[MAGIC_SETS]; /* list of regular entries */
- struct cont {
- size_t len;
- struct level_info *li;
- } c;
+ struct cont c;
struct out {
char *buf; /* Accumulation buffer */
size_t blen; /* Length of buffer */