diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-02-12 09:13:29 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-02-12 09:13:29 +0000 |
commit | 5a3c9eaa4ab85f644aa2b5aa3a796d490f76855c (patch) | |
tree | 5bfb3376d90c6ea0719ee2012499d242fe74921b /driver_proto.c | |
parent | f55d2ae23805486b3957437693e09173544a32ea (diff) | |
download | gpsd-5a3c9eaa4ab85f644aa2b5aa3a796d490f76855c.tar.gz |
All driver method tables are now const.
This required moving one field, the modifiable cycle time, into the
session structure; the driver type field is now the default value set
on switching to that driver, if the field has not already been set
during a previous activation.
Diffstat (limited to 'driver_proto.c')
-rw-r--r-- | driver_proto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_proto.c b/driver_proto.c index f83639ea..20cdbbb8 100644 --- a/driver_proto.c +++ b/driver_proto.c @@ -369,7 +369,7 @@ static void _proto__wrapup(struct gps_device_t *session) /* any driver must use to compile. */ /* This is everything we export */ -struct gps_type_t _proto__binary = { +const struct gps_type_t _proto__binary = { /* Full name of type */ .type_name = "_proto_ binary", /* associated lexer packet type */ |