summaryrefslogtreecommitdiff
path: root/packet.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-05-24 18:53:42 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-05-24 18:53:42 +0000
commitefb0c81d002a087b905147de37d25410dedcab66 (patch)
treed2defe9d10db154f7e53223fb5942bf32828762d /packet.c
parenta83afd295305addfd15015a65dcc0f0f5885529f (diff)
downloadgpsd-efb0c81d002a087b905147de37d25410dedcab66.tar.gz
Condition out some unused code.
Diffstat (limited to 'packet.c')
-rw-r--r--packet.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/packet.c b/packet.c
index d28d6e5b..1bac0c50 100644
--- a/packet.c
+++ b/packet.c
@@ -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 */