From: Robert Lipe Date: Mon, 3 Dec 2018 05:34:28 +0000 (-0600) Subject: Make prototype arg names match function arg names. X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~115^2~1^2~59^2~18 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c829684bf9d0b945627a8526e9aeb39de4ca82ab;p=gpsbabel.git Make prototype arg names match function arg names. --- diff --git a/jeeps/gpsapp.cc b/jeeps/gpsapp.cc index 10a49a5f8..48fc98c8c 100644 --- a/jeeps/gpsapp.cc +++ b/jeeps/gpsapp.cc @@ -63,7 +63,7 @@ static void GPS_D105_Get(GPS_PWay* way, UC* s); static void GPS_D106_Get(GPS_PWay* way, UC* s); static void GPS_D107_Get(GPS_PWay* way, UC* s); static void GPS_D108_Get(GPS_PWay* way, UC* s); -static void GPS_D109_Get(GPS_PWay* way, UC* s, int proto); +static void GPS_D109_Get(GPS_PWay* way, UC* s, int protoid); static void GPS_D150_Get(GPS_PWay* way, UC* s); static void GPS_D151_Get(GPS_PWay* way, UC* s); static void GPS_D152_Get(GPS_PWay* way, UC* s); @@ -79,14 +79,14 @@ static void GPS_D105_Send(UC* data, GPS_PWay way, int32* len); static void GPS_D106_Send(UC* data, GPS_PWay way, int32* len); static void GPS_D107_Send(UC* data, GPS_PWay way, int32* len); static void GPS_D108_Send(UC* data, GPS_PWay way, int32* len); -static void GPS_D109_Send(UC* data, GPS_PWay way, int32* len, int proto); +static void GPS_D109_Send(UC* data, GPS_PWay way, int32* len, int protoid); static void GPS_D150_Send(UC* data, GPS_PWay way, int32* len); static void GPS_D151_Send(UC* data, GPS_PWay way, int32* len); static void GPS_D152_Send(UC* data, GPS_PWay way, int32* len); static void GPS_D154_Send(UC* data, GPS_PWay way, int32* len); static void GPS_D155_Send(UC* data, GPS_PWay way, int32* len); -static void GPS_D120_Get(int n, char* data); +static void GPS_D120_Get(int cat_num, char*s); static void GPS_D200_Get(GPS_PWay* way, UC* s); static void GPS_D201_Get(GPS_PWay* way, UC* s); diff --git a/mtk_locus.cc b/mtk_locus.cc index f58dac73e..cbbffc209 100644 --- a/mtk_locus.cc +++ b/mtk_locus.cc @@ -115,7 +115,7 @@ static void process_pmtklox(); static void process_pmtklog(); static void process_pmtk001(); static void process_pmtk705(); -static void send_command(const char* s, const char* waitfor); +static void send_command(const char* s, const char*wait_for); static int calculate_checksum(const char* s, int length); static void dbg(int l, const char* msg, ...);