summaryrefslogtreecommitdiff
path: root/ext/IPC
diff options
context:
space:
mode:
Diffstat (limited to 'ext/IPC')
-rw-r--r--ext/IPC/SysV/SysV.xs6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/IPC/SysV/SysV.xs b/ext/IPC/SysV/SysV.xs
index 4a10eb90e3..c7985f99fe 100644
--- a/ext/IPC/SysV/SysV.xs
+++ b/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
@@ -206,7 +206,7 @@ ftok(path, id)
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));
}
}