summaryrefslogtreecommitdiff
path: root/file/file.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-10-01 21:46:33 +0000
committerjbj <devnull@localhost>2002-10-01 21:46:33 +0000
commit41f87d9dab616f18a072170e98ad2061bfa8b1df (patch)
tree9f8f95fc00b919906dfdd67cac8d5ef753471a59 /file/file.h
parent6d294939a66d74418a36825f1936b4fe31f3a65e (diff)
downloadrpm-41f87d9dab616f18a072170e98ad2061bfa8b1df.tar.gz
Sanity.
CVS patchset: 5745 CVS date: 2002/10/01 21:46:33
Diffstat (limited to 'file/file.h')
-rw-r--r--file/file.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/file/file.h b/file/file.h
index d66198bb0..de861e595 100644
--- a/file/file.h
+++ b/file/file.h
@@ -124,6 +124,7 @@ extern int lineno; /* current line number in magic file */
/*@unchecked@*/
extern struct mlist mlist; /* list of arrays of magic entries */
+/*@-exportlocal@*/
/*@unchecked@*/
extern int debug; /* enable debugging? */
/*@unchecked@*/
@@ -134,13 +135,9 @@ extern int lflag; /* follow symbolic links? */
extern int sflag; /* read/analyze block special files? */
/*@unchecked@*/
extern int iflag; /* Output types as mime-types */
-
-#ifdef NEED_GETOPT
-/*@unchecked@*/
-extern int optind; /* From getopt(3) */
/*@unchecked@*/
-extern char *optarg;
-#endif
+extern int kflag; /* Keep going after the first match */
+/*@=exportlocal@*/
/*@mayexit@*/
extern int apprentice(const char *fn, int action)
@@ -158,8 +155,8 @@ extern void ckfputs(const char *str, FILE *fil)
/*@modifies fil, fileSystem @*/;
struct stat;
extern int fsmagic(const char *fn, /*@out@*/ struct stat *sb)
- /*@globals fileSystem @*/
- /*@modifies *sb, fileSystem @*/;
+ /*@globals fileSystem, internalState @*/
+ /*@modifies *sb, fileSystem, internalState @*/;
/*@observer@*/
extern char *fmttime(long v, int local)
/*@*/;