aboutsummaryrefslogtreecommitdiff
path: root/contrib/perl5/ext/IPC/SysV/SysV.xs
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2002-03-16 20:14:30 +0000
committerMark Murray <markm@FreeBSD.org>2002-03-16 20:14:30 +0000
commit535b847ca738d6461ab6779b64e475012eb0d44d (patch)
tree40ba760f36cd8e65b8c0a8caeaee00ceb84de622 /contrib/perl5/ext/IPC/SysV/SysV.xs
parent903163ac3e1724978a60a1c0b5ae2f9dcbadf59f (diff)
parentfc75d0664419eb8c8f264d8f298df2cd155c8966 (diff)
This commit was generated by cvs2svn to compensate for changes in r92442,
which included commits to RCS files with non-trunk default branches.
Notes
Notes: svn path=/head/; revision=92443
Diffstat (limited to 'contrib/perl5/ext/IPC/SysV/SysV.xs')
-rw-r--r--contrib/perl5/ext/IPC/SysV/SysV.xs8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/perl5/ext/IPC/SysV/SysV.xs b/contrib/perl5/ext/IPC/SysV/SysV.xs
index 38062e028b5e..c7985f99fe3e 100644
--- a/contrib/perl5/ext/IPC/SysV/SysV.xs
+++ b/contrib/perl5/ext/IPC/SysV/SysV.xs
@@ -194,7 +194,7 @@ PPCODE:
MODULE=IPC::SysV PACKAGE=IPC::SysV
-int
+void
ftok(path, id)
char * path
int id
@@ -203,10 +203,10 @@ ftok(path, id)
key_t k = ftok(path, id);
ST(0) = k == (key_t) -1 ? &PL_sv_undef : sv_2mortal(newSViv(k));
#else
- DIE(PL_no_func, "ftok");
+ DIE(aTHX_ PL_no_func, "ftok");
#endif
-int
+void
SHMLBA()
CODE:
#ifdef SHMLBA
@@ -436,7 +436,7 @@ BOOT:
char *name;
int i;
- for(i = 0 ; name = IPC__SysV__const[i].n ; i++) {
+ for(i = 0 ; (name = IPC__SysV__const[i].n) ; i++) {
newCONSTSUB(stash,name, newSViv(IPC__SysV__const[i].v));
}
}