Signal handler should take a single `int' argument
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@481 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -7,7 +7,7 @@ do_enccopy (int fd1, int fd2, int mode, des_cblock *iv,
|
||||
des_key_schedule schedule, int *num)
|
||||
{
|
||||
int ret;
|
||||
char buf[BUFSIZ];
|
||||
u_char buf[BUFSIZ];
|
||||
|
||||
ret = read (fd1, buf, sizeof(buf));
|
||||
if (ret == 0)
|
||||
@@ -74,7 +74,7 @@ copy_encrypted (int fd1, int fd2, des_cblock *iv,
|
||||
*/
|
||||
|
||||
RETSIGTYPE
|
||||
childhandler ()
|
||||
childhandler (int sig)
|
||||
{
|
||||
pid_t pid;
|
||||
int status;
|
||||
|
Reference in New Issue
Block a user