--- ray/src/ot/oconv.c 1994/03/28 11:13:58 2.8 +++ ray/src/ot/oconv.c 1995/01/06 10:13:04 2.10 @@ -26,8 +26,6 @@ static char SCCSid[] = "$SunId$ LBL"; char *progname; /* argv[0] */ -char *libpath; /* library search path */ - int nowarn = 0; /* supress warnings? */ int objlim = 5; /* # of objects before split */ @@ -46,9 +44,8 @@ int (*addobjnotify[])() = {NULL}; /* new object notif main(argc, argv) /* convert object files to an octree */ int argc; -char **argv; +char *argv[]; { - extern char *getenv(); FVECT bbmin, bbmax; char *infile = NULL; int inpfrozen = 0; @@ -58,15 +55,11 @@ char **argv; progname = argv[0] = fixargv0(argv[0]); - if ((libpath = getenv(ULIBVAR)) == NULL) - libpath = DEFPATH; - initotypes(); for (i = 1; i < argc && argv[i][0] == '-'; i++) switch (argv[i][1]) { case '\0': /* scene from stdin */ - outflags &= ~IO_FILES; goto breakopt; case 'i': /* input octree */ infile = argv[++i];