diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-02-27 02:15:59 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-02-27 02:15:59 -0500 |
commit | 6dfbdbcd8dacfea75acf493dc4a0b390867f73e7 (patch) | |
tree | c46ac3d93c8e4468fe7dd5d6e583efbcdc370aea /ntpshm.h | |
parent | 8b650d0dad26000236cb23b8a9f1d0352bbd1fbd (diff) | |
download | gpsd-6dfbdbcd8dacfea75acf493dc4a0b390867f73e7.tar.gz |
BUGFIX: Some versions of GCC or run modes require this change.
It is correct; the mystery is why any version accepts int as a
declaration for a field that an enum can be assigned to.
Diffstat (limited to 'ntpshm.h')
-rw-r--r-- | ntpshm.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -60,7 +60,7 @@ enum segstat_t { OK, NO_SEGMENT, NOT_READY, BAD_MODE, CLASH}; struct shm_stat_t { - int status; + enum segstat_t status; struct timespec tvc, tvr, tvt; int precision; int leap; |