Remove bunch of deprecated and unused rpmlog functions
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 9 Oct 2007 08:55:00 +0000 (11:55 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 9 Oct 2007 08:55:00 +0000 (11:55 +0300)
rpmio/rpmlog.c
rpmio/rpmlog.h

index 06710ad..e6d2062 100644 (file)
@@ -221,17 +221,3 @@ void rpmlog (int code, const char *fmt, ...)
     va_end(ap);
 }
 
-int rpmErrorCode(void)
-{
-    return rpmlogCode();
-}
-
-const char * rpmErrorString(void)
-{
-    return rpmlogMessage();
-}
-
-rpmlogCallback rpmErrorSetCallback(rpmlogCallback cb)
-{
-    return rpmlogSetCallback(cb);
-}
index 6727b8a..f12af54 100644 (file)
@@ -226,26 +226,6 @@ rpmlogCallback rpmlogSetCallback(rpmlogCallback cb);
  */
 FILE * rpmlogSetFile(FILE * fp);
 
-/**
- * Set rpmlog callback function.
- * @deprecated gnorpm needs, use rpmlogSetCallback() instead.
- */
-extern rpmlogCallback rpmErrorSetCallback(rpmlogCallback cb);
-
-/**
- * Return error code from last rpmError() message.
- * @deprecated Perl-RPM needs, use rpmlogCode() instead.
- * @return             code from last message
- */
-extern int rpmErrorCode(void);
-
-/**
- * Return text of last rpmError() message.
- * @deprecated gnorpm needs, use rpmlogMessage() instead.
- * @return             text of last message
- */
-extern const char * rpmErrorString(void)       ;
-
 #ifdef __cplusplus
 }
 #endif