* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#ifndef lint
-static char rcsid[] = "$Id: magic.c,v 1.6 1996/04/04 03:58:41 paulus Exp $";
-#endif
+#define RCSID "$Id: magic.c,v 1.9 1999/08/13 06:46:15 paulus Exp $"
#include <stdio.h>
#include <unistd.h>
#include "pppd.h"
#include "magic.h"
+static const char rcsid[] = RCSID;
+
extern long mrand48 __P((void));
extern void srand48 __P((long));
struct timeval t;
gettimeofday(&t, NULL);
- seed = gethostid() ^ t.tv_sec ^ t.tv_usec ^ getpid();
+ seed = get_host_seed() ^ t.tv_sec ^ t.tv_usec ^ getpid();
srand48(seed);
}