From: Robert Lipe Date: Mon, 3 Dec 2018 05:58:26 +0000 (-0600) Subject: Const-ipate jeeps function signature. (Yeah, coz THAT makes that API beautiful...) X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~8^2~51^2~15 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a83178c29f50bb4b1772dcb7d633c9bad1030f9f;p=gpsbabel.git Const-ipate jeeps function signature. (Yeah, coz THAT makes that API beautiful...) --- diff --git a/jeeps/gpsapp.cc b/jeeps/gpsapp.cc index 7ef1733dc..e1152eab1 100644 --- a/jeeps/gpsapp.cc +++ b/jeeps/gpsapp.cc @@ -88,7 +88,7 @@ static void GPS_D155_Send(UC* data, GPS_PWay way, int32* len); static void GPS_D120_Get(int cat_num, char*s); -static void GPS_D200_Get(GPS_PWay* way, UC* s); +static void GPS_D200_Get(GPS_PWay* way, const UC* s); static void GPS_D201_Get(GPS_PWay* way, UC* s); static void GPS_D202_Get(GPS_PWay* way, UC* s); static void GPS_D210_Get(GPS_PWay* way, UC* s); @@ -3444,7 +3444,7 @@ int32 GPS_A201_Send(const char* port, GPS_PWay* way, int32 n) ** ** @return [void] ************************************************************************/ -static void GPS_D200_Get(GPS_PWay* way, UC* s) +static void GPS_D200_Get(GPS_PWay* way, const UC* s) { (*way)->rte_prot = 200; (*way)->rte_num = *s;