From: Lei Xia Date: Thu, 28 Aug 2008 19:43:32 +0000 (+0000) Subject: update clock.h X-Git-Tag: 1.0~59 X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=commitdiff_plain;h=9133e0d7fb8d5c662b4b588f32edddf553f82dca;p=palacios.git update clock.h --- diff --git a/palacios/include/uip/clock.h b/palacios/include/uip/clock.h index a213b99..c607f89 100644 --- a/palacios/include/uip/clock.h +++ b/palacios/include/uip/clock.h @@ -47,7 +47,7 @@ * * Author: Adam Dunkels * - * $Id: clock.h,v 1.2 2008/08/06 23:40:07 andrewlxia Exp $ + * $Id: clock.h,v 1.3 2008/08/28 19:43:32 andrewlxia Exp $ */ #ifndef __CLOCK_H__ #define __CLOCK_H__ @@ -78,9 +78,9 @@ typedef ulong_t clock_time_t; * \return The current clock time, measured in system ticks. */ -clock_time_t clock_time(void){ - return g_numTicks; -} + +//defined in the geekos/timer.c +extern clock_time_t clock_time(void); /** * A second, measured in system clock time.