| 1 |
– |
/* Copyright (c) 1996 Regents of the University of California */ |
| 2 |
– |
|
| 1 |
|
#ifndef lint |
| 2 |
< |
static char SCCSid[] = "$SunId$ LBL"; |
| 2 |
> |
static const char RCSid[] = "$Id$"; |
| 3 |
|
#endif |
| 6 |
– |
|
| 4 |
|
/* |
| 5 |
|
* Parallel network process handling routines |
| 6 |
|
*/ |
| 27 |
|
|
| 28 |
|
extern char *remsh; /* externally defined remote shell program */ |
| 29 |
|
|
| 33 |
– |
extern char *malloc(), *realloc(); |
| 30 |
|
extern char *getenv(); |
| 31 |
|
|
| 32 |
|
|
| 122 |
|
/* remove server from list */ |
| 123 |
|
psp->next = ps->next; |
| 124 |
|
pslist = pstart.next; |
| 125 |
< |
free((char *)ps); /* free associated memory */ |
| 125 |
> |
free((void *)ps); /* free associated memory */ |
| 126 |
|
} |
| 127 |
|
|
| 128 |
|
|
| 292 |
|
close(pp->efd); /* close error stream */ |
| 293 |
|
pindex[pp->efd] = NULL; |
| 294 |
|
FD_CLR(pp->efd, &errdesc); |
| 295 |
< |
free((char *)pp->errs); |
| 295 |
> |
free((void *)pp->errs); |
| 296 |
|
pp->com = NULL; /* clear settings */ |
| 297 |
|
pp->pid = -1; |
| 298 |
|
pp->efd = -1; |