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;
|
||||
|
@@ -16,6 +16,9 @@
|
||||
#ifdef HAVE_SYS_RESOURCE_H
|
||||
#include <sys/resource.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_SELECT_H
|
||||
#include <sys/select.h>
|
||||
#endif
|
||||
#include <sys/wait.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/socket.h>
|
||||
@@ -38,7 +41,7 @@ extern char *prog;
|
||||
int copy_encrypted (int fd1, int fd2, des_cblock *iv,
|
||||
des_key_schedule schedule);
|
||||
|
||||
RETSIGTYPE childhandler ();
|
||||
RETSIGTYPE childhandler (int);
|
||||
|
||||
int get_local_xsocket (unsigned dnr);
|
||||
int connect_local_xsocket (unsigned dnr);
|
||||
|
Reference in New Issue
Block a user