X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=driver%2Fsubprocs.c;h=689bbb01654a78b09d326c86f1ebd4d6e6e50571;hb=ccbc9f87eb59497b23bd0424ee1ed20ad7c7db54;hp=ab969b1326fee782e4741fe02a3cef4ce17863a0;hpb=6edc84f12f15860a71430c45e8392a5e4ef8203c;p=xscreensaver diff --git a/driver/subprocs.c b/driver/subprocs.c index ab969b13..689bbb01 100644 --- a/driver/subprocs.c +++ b/driver/subprocs.c @@ -1,4 +1,5 @@ -/* xscreensaver, Copyright (c) 1991-1993 Jamie Zawinski +/* xscreensaver, Copyright (c) 1991, 1992, 1993, 1995 + * Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -80,14 +81,7 @@ extern int putenv (/* const char * */); /* getenv() is in stdlib.h... */ extern int kill (pid_t, int); /* signal() is in sys/signal.h... */ #endif -# ifndef random -# if defined(SVR4) || defined(SYSV) -# define random() rand() -# else /* !totally-losing-SYSV */ - extern long random(); /* rand() is in stdlib.h... */ -# endif /* !totally-losing-SYSV */ -# endif /* random defined */ - +#include "yarandom.h" #include "xscreensaver.h" /* this must be `sh', not whatever $SHELL happens to be. */