X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fsys-osf.c;h=93070e558ccb2c02c843781af1a6ca6b6d61b98b;hb=b8cc21dc5430e6452b4cae5a84cd1921fa941f19;hp=42acdd85fb6b7ff0017716e8ee45ecacc9a0f162;hpb=01ab847385f3d3abe64dbf4bea5363da3e6e1d64;p=ppp.git diff --git a/pppd/sys-osf.c b/pppd/sys-osf.c index 42acdd8..93070e5 100644 --- a/pppd/sys-osf.c +++ b/pppd/sys-osf.c @@ -26,7 +26,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: sys-osf.c,v 1.12 1997/04/30 05:58:44 paulus Exp $"; +static char rcsid[] = "$Id: sys-osf.c,v 1.14 1998/11/07 06:59:31 paulus Exp $"; #endif #include @@ -202,9 +202,10 @@ sys_close() /* * sys_check_options - check the options that the user specified */ -void +int sys_check_options() { + return 1; } @@ -1517,6 +1518,15 @@ strioctl(fd, cmd, ptr, ilen, olen) return 0; } +/* + * Use the hostid as part of the random number seed. + */ +int +get_host_seed() +{ + return gethostid(); +} + /* * Code for locking/unlocking the serial device. * This code is derived from chat.c.