summaryrefslogtreecommitdiffstats
path: root/perl-install/c
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-11-10 12:30:07 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-11-10 12:30:07 +0000
commite97704c75894f69a6e45807bbef04480a02a092b (patch)
treec0f4f8ca36a4c17a1b0575dc07ff9db3d122b2eb /perl-install/c
parentb695b4bd2408c4ad06a1dcdd95b2a95a3bf63fa5 (diff)
downloaddrakx-backup-do-not-use-e97704c75894f69a6e45807bbef04480a02a092b.tar
drakx-backup-do-not-use-e97704c75894f69a6e45807bbef04480a02a092b.tar.gz
drakx-backup-do-not-use-e97704c75894f69a6e45807bbef04480a02a092b.tar.bz2
drakx-backup-do-not-use-e97704c75894f69a6e45807bbef04480a02a092b.tar.xz
drakx-backup-do-not-use-e97704c75894f69a6e45807bbef04480a02a092b.zip
initIMPS2 move where it should be (in non-C_RPM dependent section)
Diffstat (limited to 'perl-install/c')
-rw-r--r--perl-install/c/stuff.xs.pm9
1 files changed, 4 insertions, 5 deletions
diff --git a/perl-install/c/stuff.xs.pm b/perl-install/c/stuff.xs.pm
index 5968289ac..ecffd9c10 100644
--- a/perl-install/c/stuff.xs.pm
+++ b/perl-install/c/stuff.xs.pm
@@ -57,6 +57,10 @@ FD_t fd2FD_t(int fd) {
return f;
}
+';
+
+print '
+
void initIMPS2() {
unsigned char imps2_s1[] = { 243, 200, 243, 100, 243, 80, };
unsigned char imps2_s2[] = { 246, 230, 244, 243, 100, 232, 3, };
@@ -72,11 +76,6 @@ void initIMPS2() {
tcdrain(fd);
}
-
-';
-
-print '
-
long long llseek(int fd, long long offset, int whence);
MODULE = c::stuff PACKAGE = c::stuff