ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/netproc.c
(Generate patch)

Comparing ray/src/util/netproc.c (file contents):
Revision 2.8 by gregl, Tue Oct 28 14:01:39 1997 UTC vs.
Revision 2.9 by greg, Sat Feb 22 02:07:30 2003 UTC

# Line 1 | Line 1
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   */
# Line 30 | Line 27 | static int     maxfd;          /* maximum assigned descriptor */
27  
28   extern char     *remsh;         /* externally defined remote shell program */
29  
33 extern char     *malloc(), *realloc();
30   extern char     *getenv();
31  
32  
# Line 126 | Line 122 | PSERVER        *ps;
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  
# Line 296 | Line 292 | int    status;
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;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines