lkml.org 
[lkml]   [2006]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[-mm patch] kernel/time/timeofday.c: make struct ts_interval static
On Fri, Feb 03, 2006 at 12:07:04AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.15-mm4:
>...
> +time-generic-timekeeping-infrastructure.patch
>...
> Bring back John's time-reqork patches. New, improved, fixed.
>...


This patch makes a needlessly global struct static.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.16-rc1-mm5-full/kernel/time/timeofday.c.old 2006-02-03 20:04:56.000000000 +0100
+++ linux-2.6.16-rc1-mm5-full/kernel/time/timeofday.c 2006-02-03 20:05:09.000000000 +0100
@@ -80,7 +80,7 @@
* This constant is the requested fixed interval period
* in nanoseconds.
*/
-struct clocksource_interval ts_interval;
+static struct clocksource_interval ts_interval;
#define INTERVAL_LEN ((PERIODIC_INTERVAL_MS-1)*1000000)

/* [clocksource data]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-02-03 21:59    [W:0.654 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site