--- ray/src/hd/rholo.c 2019/11/07 23:17:58 3.82 +++ ray/src/hd/rholo.c 2025/01/21 22:30:01 3.84 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: rholo.c,v 3.82 2019/11/07 23:17:58 greg Exp $"; +static const char RCSid[] = "$Id: rholo.c,v 3.84 2025/01/21 22:30:01 greg Exp $"; #endif /* * Radiance holodeck generation controller @@ -229,7 +229,6 @@ resfmode( /* restrict open file access mode */ static void initrholo(void) /* get our holodeck running */ { - extern int global_packet(); int i; /* close holodeck on exec() */ fcntl(hdlist[0]->fd, F_SETFD, FD_CLOEXEC); @@ -394,7 +393,6 @@ setdefaults( /* set default values */ HDGRID *gp ) { - extern char *atos(); int i; int n; double len[3], d; @@ -632,8 +630,7 @@ badvalue( /* report bad variable value and exit */ void -eputs(s) /* put error message to stderr */ -char *s; +eputs(const char *s) /* put error message to stderr */ { static int midline = 0; @@ -652,8 +649,7 @@ char *s; void -quit(ec) /* exit program gracefully */ -int ec; +quit(int ec) /* exit program gracefully */ { int status = 0;