summaryrefslogtreecommitdiffstats
path: root/perl-install/c/stuff.xs.pl
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-06-30 05:12:57 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-06-30 05:12:57 +0000
commit0d17f37c448e201eb06acd3ab9f48987ec979f87 (patch)
tree18fecffdd3c911af066384b7b52ef21b510100c7 /perl-install/c/stuff.xs.pl
parentd9b326644aeed117f7bdbb0288a25f77f4a3d374 (diff)
downloaddrakx-0d17f37c448e201eb06acd3ab9f48987ec979f87.tar
drakx-0d17f37c448e201eb06acd3ab9f48987ec979f87.tar.gz
drakx-0d17f37c448e201eb06acd3ab9f48987ec979f87.tar.bz2
drakx-0d17f37c448e201eb06acd3ab9f48987ec979f87.tar.xz
drakx-0d17f37c448e201eb06acd3ab9f48987ec979f87.zip
Remove dependency of c::stuff on rpmlib
Diffstat (limited to 'perl-install/c/stuff.xs.pl')
-rw-r--r--perl-install/c/stuff.xs.pl26
1 files changed, 0 insertions, 26 deletions
diff --git a/perl-install/c/stuff.xs.pl b/perl-install/c/stuff.xs.pl
index 88ee2c5a1..77d5f586f 100644
--- a/perl-install/c/stuff.xs.pl
+++ b/perl-install/c/stuff.xs.pl
@@ -81,17 +81,6 @@ print '
#undef Fflush
#undef Mkdir
#undef Stat
-#include <rpm/rpmlib.h>
-#include <rpm/rpmio.h>
-
-void rpmError_callback_empty(void) {}
-
-int rpmError_callback_data;
-void rpmError_callback(void) {
- if (rpmErrorCode() != RPMERR_UNLINK && rpmErrorCode() != RPMERR_RMDIR) {
- write(rpmError_callback_data, rpmErrorString(), strlen(rpmErrorString()));
- }
-}
';
@@ -756,21 +745,6 @@ get_iso_volume_ids(int fd)
';
-print '
-const char *
-rpmErrorString()
-
-void
-rpmErrorSetCallback(fd)
- int fd
- CODE:
- rpmError_callback_data = fd;
- rpmErrorSetCallback(rpmError_callback);
-
-int
-rpmvercmp(char *a, char *b);
-';
-
@macros = (
[ qw(int S_IFCHR S_IFBLK S_IFIFO KDSKBENT KT_SPEC K_NOSUCHMAP NR_KEYS MAX_NR_KEYMAPS BLKRRPART TIOCSCTTY
HDIO_GETGEO BLKGETSIZE LOOP_GET_STATUS