summaryrefslogtreecommitdiff
path: root/rpmio
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-07-11 12:34:46 +0300
committerPanu Matilainen <pmatilai@redhat.com>2007-07-11 12:34:46 +0300
commitc8b871d5496b4920ef234f049ae2bb1483702a56 (patch)
treeafac51d98d840e9482ddb44229520661d4bd5bcc /rpmio
parente1508eff864621c9a91c9a4f016fda915ea28bb2 (diff)
downloadrpm-c8b871d5496b4920ef234f049ae2bb1483702a56.tar.gz
rpm-c8b871d5496b4920ef234f049ae2bb1483702a56.tar.bz2
rpm-c8b871d5496b4920ef234f049ae2bb1483702a56.zip
Ifdef out currently unused rpm logging facility stuff.
Diffstat (limited to 'rpmio')
-rw-r--r--rpmio/rpmlog.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/rpmio/rpmlog.c b/rpmio/rpmlog.c
index 4d8e8d9c0..2d8b0f226 100644
--- a/rpmio/rpmlog.c
+++ b/rpmio/rpmlog.c
@@ -99,8 +99,10 @@ void rpmlogOpen (/*@unused@*/ const char *ident, /*@unused@*/ int option,
/*@unchecked@*/
static unsigned rpmlogMask = RPMLOG_UPTO( RPMLOG_NOTICE );
+#ifdef NOTYET
/*@unchecked@*/
static /*@unused@*/ unsigned rpmlogFacility = RPMLOG_USER;
+#endif
int rpmlogSetMask (int mask)
/*@globals rpmlogMask @*/
@@ -167,7 +169,9 @@ static void vrpmlog (unsigned code, const char *fmt, va_list ap)
{
unsigned pri = RPMLOG_PRI(code);
unsigned mask = RPMLOG_MASK(pri);
+#ifdef NOTYET
/*@unused@*/ unsigned fac = RPMLOG_FAC(code);
+#endif
char *msgbuf, *msg;
int msgnb = BUFSIZ, nb;
FILE * msgout = (_stdlog ? _stdlog : stderr);