diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-05-24 18:53:42 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-05-24 18:53:42 +0000 |
commit | efb0c81d002a087b905147de37d25410dedcab66 (patch) | |
tree | d2defe9d10db154f7e53223fb5942bf32828762d /packet.c | |
parent | a83afd295305addfd15015a65dcc0f0f5885529f (diff) | |
download | gpsd-efb0c81d002a087b905147de37d25410dedcab66.tar.gz |
Condition out some unused code.
Diffstat (limited to 'packet.c')
-rw-r--r-- | packet.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -609,6 +609,7 @@ void packet_reset(struct gps_device_t *session) session->inbufptr = session->inbuffer; } +#ifdef __UNUSED__ void packet_pushback(struct gps_device_t *session) /* push back the last packet grabbed */ { @@ -623,6 +624,7 @@ void packet_pushback(struct gps_device_t *session) session->outbuflen = 0; } } +#endif /* __UNUSED */ #ifdef TESTMAIN /* To build a test main, compile with cc -DTESTMAIN -g packet.c -o packet */ |