--- ray/src/rt/devcomm.c 2011/10/05 17:20:55 2.16 +++ ray/src/rt/devcomm.c 2014/07/08 18:25:00 2.17 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: devcomm.c,v 2.16 2011/10/05 17:20:55 greg Exp $"; +static const char RCSid[] = "$Id: devcomm.c,v 2.17 2014/07/08 18:25:00 greg Exp $"; #endif /* * devcomm.c - communication routines for separate drivers. @@ -65,7 +65,7 @@ final_connect(void) /* verify and initialize connec } -extern struct driver * +struct driver * slave_init( /* run rview in slave mode */ char *dname, char *id @@ -78,7 +78,7 @@ slave_init( /* run rview in slave mode */ } -extern struct driver * +struct driver * comm_init( /* set up and execute driver */ char *dname, char *id @@ -250,11 +250,11 @@ comm_comin( /* read string from command line */ static void mygets( /* get string from file (with nul) */ - register char *s, - register FILE *fp + char *s, + FILE *fp ) { - register int c; + int c; while ((c = getc(fp)) != EOF) if ((*s++ = c) == '\0') @@ -265,8 +265,8 @@ mygets( /* get string from file (with nul) */ static void myputs( /* put string to file (with nul) */ - register char *s, - register FILE *fp + char *s, + FILE *fp ) { do