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

Comparing ray/src/rt/devcomm.c (file contents):
Revision 2.16 by greg, Wed Oct 5 17:20:55 2011 UTC vs.
Revision 2.17 by greg, Tue Jul 8 18:25:00 2014 UTC

# Line 65 | Line 65 | final_connect(void)                            /* verify and initialize connec
65   }
66  
67  
68 < extern struct driver *
68 > struct driver *
69   slave_init(                     /* run rview in slave mode */
70          char    *dname,
71          char    *id
# Line 78 | Line 78 | slave_init(                    /* run rview in slave mode */
78   }
79  
80  
81 < extern struct driver *
81 > struct driver *
82   comm_init(                      /* set up and execute driver */
83          char    *dname,
84          char    *id
# Line 250 | Line 250 | comm_comin(                    /* read string from command line */
250  
251   static void
252   mygets(                         /* get string from file (with nul) */
253 <        register char   *s,
254 <        register FILE   *fp
253 >        char    *s,
254 >        FILE    *fp
255   )
256   {
257 <        register int    c;
257 >        int     c;
258  
259          while ((c = getc(fp)) != EOF)
260                  if ((*s++ = c) == '\0')
# Line 265 | Line 265 | mygets(                                /* get string from file (with nul) */
265  
266   static void
267   myputs(                         /* put string to file (with nul) */
268 <        register char   *s,
269 <        register FILE   *fp
268 >        char    *s,
269 >        FILE    *fp
270   )
271   {
272          do

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines