aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-10-01 02:28:29 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-01 03:39:27 -0400
commit70bc42f90a3f4721c89dbe865e6c95da8565b41c (patch)
treeb98b1b19584c4dfcec283715a14a701139ea32d1 /include
parent0883d899ef862c1b0f8b2c2d38098470c193a3dd (diff)
[PATCH] kernel/time/ntp.c: possible cleanups
This patch contains the following possible cleanups: - make the following needlessly global function static: - ntp_update_frequency() - make the following needlessly global variables static: - time_state - time_offset - time_constant - time_reftime - remove the following read-only global variable: - time_precision Signed-off-by: Adrian Bunk <bunk@stusta.de> Cc: Roman Zippel <zippel@linux-m68k.org> Cc: john stultz <johnstul@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/timex.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/timex.h b/include/linux/timex.h
index 261381b5da82..049dfe4a11f2 100644
--- a/include/linux/timex.h
+++ b/include/linux/timex.h
@@ -198,21 +198,15 @@ extern int tickadj; /* amount of adjustment per tick */
198/* 198/*
199 * phase-lock loop variables 199 * phase-lock loop variables
200 */ 200 */
201extern int time_state; /* clock status */
202extern int time_status; /* clock synchronization status bits */ 201extern int time_status; /* clock synchronization status bits */
203extern long time_offset; /* time adjustment (us) */
204extern long time_constant; /* pll time constant */
205extern long time_precision; /* clock precision (us) */
206extern long time_maxerror; /* maximum error */ 202extern long time_maxerror; /* maximum error */
207extern long time_esterror; /* estimated error */ 203extern long time_esterror; /* estimated error */
208 204
209extern long time_freq; /* frequency offset (scaled ppm) */ 205extern long time_freq; /* frequency offset (scaled ppm) */
210extern long time_reftime; /* time at last adjustment (s) */
211 206
212extern long time_adjust; /* The amount of adjtime left */ 207extern long time_adjust; /* The amount of adjtime left */
213 208
214extern void ntp_clear(void); 209extern void ntp_clear(void);
215extern void ntp_update_frequency(void);
216 210
217/** 211/**
218 * ntp_synced - Returns 1 if the NTP status is not UNSYNC 212 * ntp_synced - Returns 1 if the NTP status is not UNSYNC