]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/sys-sunos4.c
allow chars 0x20 - 0x3f to be escaped
[ppp.git] / pppd / sys-sunos4.c
index 74c0217ef2908d7c5ae160164b53dc0a42fec180..ac24eb184364cf2c73b13123b08e44dcd103f5e1 100644 (file)
@@ -26,7 +26,7 @@
  */
 
 #ifndef lint
-static char rcsid[] = "$Id: sys-sunos4.c,v 1.8 1997/04/30 05:58:52 paulus Exp $";
+static char rcsid[] = "$Id: sys-sunos4.c,v 1.10 1998/11/07 06:59:31 paulus Exp $";
 #endif
 
 #include <stdio.h>
@@ -206,9 +206,10 @@ sys_close()
 /*
  * sys_check_options - check the options that the user specified
  */
-void
+int
 sys_check_options()
 {
+    return 1;
 }
 
 
@@ -1326,6 +1327,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.