diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-08-19 13:48:31 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-08-19 13:48:31 +0000 |
commit | 2e1e324968410389ba16195c1faa2a6c0ffec170 (patch) | |
tree | bb50d3caaaba61929ff66212ba0c6d049b19f38a /gpsflash.c | |
parent | 80818229e170fd6458e5d5c8c22400a8aaaf3d0c (diff) | |
download | gpsd-2e1e324968410389ba16195c1faa2a6c0ffec170.tar.gz |
Enable gpsflash to compile without SiRF enabled...
...not that it will do anything useful.
Diffstat (limited to 'gpsflash.c')
-rw-r--r-- | gpsflash.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -287,10 +287,17 @@ expect(int pfd, const char *str, size_t len, time_t timeout) } +#if defined(SIRFII_ENABLE) && defined(BINARY_ENABLE) /* add new types by adding pointers to their driver blocks to this list */ /*@ -nullassign @*/ static struct flashloader_t *types[] = {&sirf_type, NULL}; /*@ +nullassign @*/ +#else +/* add new types by adding pointers to their driver blocks to this list */ +/*@ -nullassign @*/ +static struct flashloader_t *types[] = {NULL, NULL}; +/*@ +nullassign @*/ +#endif int main(int argc, char **argv){ |