From: oetiker Date: Fri, 22 May 2009 13:55:46 +0000 (+0000) Subject: inline is something for the compiler to figure ... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e3d98af81f19a3b538921265392d61100b0f83e2;p=rrdtool.git inline is something for the compiler to figure ... git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1805 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_update.c b/src/rrd_update.c index bb242b7..2fe5b91 100644 --- a/src/rrd_update.c +++ b/src/rrd_update.c @@ -282,7 +282,7 @@ static int write_changes_to_disk( * normalize time as returned by gettimeofday. usec part must * be always >= 0 */ -static inline void normalize_time( +static void normalize_time( struct timeval *t) { if (t->tv_usec < 0) { @@ -295,7 +295,7 @@ static inline void normalize_time( * Sets current_time and current_time_usec based on the current time. * current_time_usec is set to 0 if the version number is 1 or 2. */ -static inline void initialize_time( +static void initialize_time( time_t *current_time, unsigned long *current_time_usec, int version)