[PATCH] Switch to new gpsd API

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.

Stefan Schmidt stefan at datenfreihafen.org
Tue Jan 3 07:42:43 UTC 2012


Hello.

On Tue, 2012-01-03 at 11:01, Paul Wise wrote:
> ---
>  src/host/layer23/src/common/gps.c |   26 +++++++++++++-------------
>  1 files changed, 13 insertions(+), 13 deletions(-)
> 
> diff --git a/src/host/layer23/src/common/gps.c b/src/host/layer23/src/common/gps.c
> index 38aae2c..2bdfb97 100644
> --- a/src/host/layer23/src/common/gps.c
> +++ b/src/host/layer23/src/common/gps.c
> @@ -56,7 +56,7 @@ static struct osmo_fd gps_bfd;
>  
>  #ifdef _HAVE_GPSD
>  
> -static struct gps_data_t* gdata;
> +static struct gps_data_t gdata;

This will break for people without the new gpsd API. At least check
for the new version in configure.ac or better make it buildable with
both versions.

regards
Stefan Schmidt




More information about the baseband-devel mailing list