summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAdi Masputra <adi.masputra@sun.com>2000-02-18 10:00:58 +0000
committerAdi Masputra <adi.masputra@sun.com>2000-02-18 10:00:58 +0000
commitbaf120b604ced444e816f4b362ccca4b123b0fcf (patch)
treee86a81a87eb0917a746d1dc79994db8f82585ce2 /modules
parent45225e9561dbcc5bba2c90ca34b7f6a72271e0e0 (diff)
downloadppp-baf120b604ced444e816f4b362ccca4b123b0fcf.tar.gz
clock32_t is clock_t (long)
Diffstat (limited to 'modules')
-rw-r--r--modules/ppp_ahdlc.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/modules/ppp_ahdlc.c b/modules/ppp_ahdlc.c
index c39e48c..1a821af 100644
--- a/modules/ppp_ahdlc.c
+++ b/modules/ppp_ahdlc.c
@@ -41,7 +41,7 @@
* OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS,
* OR MODIFICATIONS.
*
- * $Id: ppp_ahdlc.c,v 1.14 2000/02/16 20:39:24 masputra Exp $
+ * $Id: ppp_ahdlc.c,v 1.15 2000/02/18 10:00:58 masputra Exp $
*/
/*
@@ -68,10 +68,6 @@
#include <net/pppio.h>
#include "ppp_mod.h"
-#if !defined(clock32_t)
-typedef clock_t clock32_t;
-#endif /* clock32_t */
-
/*
* Right now, mutex is only enabled for Solaris 2.x
*/
@@ -595,7 +591,7 @@ ahdlc_encode(q, mp)
* the system's LBOLT value in clock ticks
*/
if (drv_getparm(LBOLT, &lbolt) != -1) {
- if (ABS((clock32_t)lbolt - state->lbolt) > state->flag_time) {
+ if (ABS((clock_t)lbolt - state->lbolt) > state->flag_time) {
*outmp->b_wptr++ = PPP_FLAG;
}
state->lbolt = lbolt;