From 513076a18269f4cdc20b6a532614f0c69b62f126 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 24 Sep 2009 03:42:03 +0000 Subject: gps_stream() gets a third argument for future expansion. We shouldn't try to explain the transition schedule in two different places. --- gps.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gps.h') diff --git a/gps.h b/gps.h index 36169a72..fcc21bd4 100644 --- a/gps.h +++ b/gps.h @@ -996,7 +996,7 @@ extern /*@null@*/struct gps_data_t *gps_open(const char *host,const char *port); extern int gps_close(struct gps_data_t *); extern int gps_send(struct gps_data_t *gpsdata, const char *fmt, ... ); extern int gps_poll(struct gps_data_t *gpsdata); -extern int gps_stream(struct gps_data_t *gpsdata, unsigned int flags); +extern int gps_stream(struct gps_data_t *gpsdata, unsigned int flags, void *); extern void gps_set_raw_hook(struct gps_data_t *gpsdata, void (*hook)(struct gps_data_t *sentence, char *buf, size_t len)); extern int gps_set_callback(struct gps_data_t *gpsdata, void (*callback)(struct gps_data_t *sentence, char *buf, size_t len), pthread_t *handler); extern int gps_del_callback(struct gps_data_t *gpsdata, pthread_t *handler); -- cgit v1.2.1