summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2003-04-16 22:13:18 +0000
committerjbj <devnull@localhost>2003-04-16 22:13:18 +0000
commitf7aaeb11df0bdbdffd6916ca083d0d8be4afb253 (patch)
tree853570d599566450a065ab5cd9f91bf39c71f1a3 /system.h
parent27785211ad035c1f5e36628771ca4f4b8cd017f5 (diff)
downloadrpm-f7aaeb11df0bdbdffd6916ca083d0d8be4afb253.tar.gz
rpm-f7aaeb11df0bdbdffd6916ca083d0d8be4afb253.tar.bz2
rpm-f7aaeb11df0bdbdffd6916ca083d0d8be4afb253.zip
- permit secondary tag match patterns with RPMQV_ALL.
CVS patchset: 6754 CVS date: 2003/04/16 22:13:18
Diffstat (limited to 'system.h')
-rw-r--r--system.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/system.h b/system.h
index c40bd4945..1e7556353 100644
--- a/system.h
+++ b/system.h
@@ -109,6 +109,20 @@ extern int errno;
/*@=declundef @*/
#endif
+#if defined(__LCLINT__)
+/*@-declundef @*/
+/*@exits@*/
+extern void error(int status, int errnum, const char *format, ...)
+ __attribute__ ((__format__ (__printf__, 3, 4)))
+ /*@globals fileSystem @*/
+ /*@modifies fileSystem @*/;
+/*@=declundef @*/
+#else
+#if HAVE_ERROR && HAVE_ERROR_H
+#include <error.h>
+#endif
+#endif
+
#ifdef STDC_HEADERS
/*@-macrounrecog -incondefs -globuse -mustmod @*/ /* FIX: shrug */
#define getopt system_getopt