diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-07-11 12:34:46 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-07-11 12:34:46 +0300 |
commit | c8b871d5496b4920ef234f049ae2bb1483702a56 (patch) | |
tree | afac51d98d840e9482ddb44229520661d4bd5bcc /rpmio | |
parent | e1508eff864621c9a91c9a4f016fda915ea28bb2 (diff) | |
download | rpm-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.c | 4 |
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); |