提交 6482dec1 编写于 作者: R Richard Levitte

Low-case the names of the system routines, since some versions of

DEC C only have them declared that way (it doesn't really matter,
since the linker is case-insensitive by default)
上级 81b5eeed
......@@ -117,7 +117,7 @@ int RAND_poll(void)
* However, view the information as only half trustable.
*/
pid = -1; /* search context */
while ((status = SYS$GETJPIW(8, &pid, 0, item, iosb, 0, 0))
while ((status = sys$getjpiw(0, &pid, 0, item, iosb, 0, 0))
!= SS$_NOMOREPROC)
{
if (status == SS$_NORMAL)
......@@ -125,7 +125,7 @@ int RAND_poll(void)
RAND_add(data_buffer, total_length, total_length/2);
}
}
SYS$GETTIM(iosb);
sys$gettim(iosb);
RAND_add((unsigned char *)iosb, sizeof(iosb), sizeof(iosb)/2);
return 1;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册