update prototype for signal handlers to RETSIGTYPE (*)(int)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8581 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1224,7 +1224,7 @@ void
|
||||
shell(int argc, char **argv)
|
||||
{
|
||||
pid_t pid;
|
||||
RETSIGTYPE (*old1)(), (*old2)();
|
||||
RETSIGTYPE (*old1)(int), (*old2)(int);
|
||||
char shellnam[40], *shell, *namep;
|
||||
int status;
|
||||
|
||||
@@ -1612,7 +1612,7 @@ void
|
||||
doproxy(int argc, char **argv)
|
||||
{
|
||||
struct cmd *c;
|
||||
RETSIGTYPE (*oldintr)();
|
||||
RETSIGTYPE (*oldintr)(int);
|
||||
|
||||
if (argc < 2 && !another(&argc, &argv, "command")) {
|
||||
printf("usage: %s command\n", argv[0]);
|
||||
|
@@ -622,7 +622,7 @@ sendrequest (char *cmd, char *local, char *remote, char *lmode, int printnames)
|
||||
int c, d;
|
||||
FILE *fin, *dout = 0;
|
||||
int (*closefunc) (FILE *);
|
||||
RETSIGTYPE (*oldintr)(), (*oldintp)();
|
||||
RETSIGTYPE (*oldintr)(int), (*oldintp)(int);
|
||||
long bytes = 0, hashbytes = HASHBYTES;
|
||||
char *rmode = "w";
|
||||
|
||||
|
Reference in New Issue
Block a user