summaryrefslogtreecommitdiff
path: root/ntpshm.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-02-27 15:32:38 -0500
committerEric S. Raymond <esr@thyrsus.com>2015-02-27 15:32:38 -0500
commit8ee341f74a1b9894211223f175465442c8375a5d (patch)
treefc07f37666ad442c182f89775ebb79ff06eb2f24 /ntpshm.h
parent718b4c4d7559f879cfa90a451133890988f18669 (diff)
downloadgpsd-8ee341f74a1b9894211223f175465442c8375a5d.tar.gz
Obsolescence note.
Diffstat (limited to 'ntpshm.h')
-rw-r--r--ntpshm.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/ntpshm.h b/ntpshm.h
index 45648a8b..9113caf5 100644
--- a/ntpshm.h
+++ b/ntpshm.h
@@ -18,9 +18,10 @@
* How to read and write fields in an NTP shared segment.
* This definition of shmTime is from ntpd source ntpd/refclock_shm.c
*
- * The fields aren't documented there. It appears the only use of nsamples
- * is internal to the EES M201 receiver refclock. The precision field
- * is nominally log(2) of the jitter in seconds:
+ * The fields aren't documented there. It appears the only use of
+ * nsamples is internal to the (obsolete and deprecated) EES M201
+ * receiver refclock. The precision field is nominally log(2) of the
+ * source's jitter in seconds:
* -1 is about 100mSec jitter
* -10 is about 1 mSec jitter (GR-601W or other USB with 1ms poll interval)
* -13 is about 100 uSec
@@ -56,8 +57,7 @@ struct shmTime
/*
* These types are internal to GPSD
*/
-enum segstat_t {
- OK, NO_SEGMENT, NOT_READY, BAD_MODE, CLASH};
+enum segstat_t {OK, NO_SEGMENT, NOT_READY, BAD_MODE, CLASH};
struct shm_stat_t {
enum segstat_t status;