summaryrefslogtreecommitdiff
path: root/navit/vehicle
diff options
context:
space:
mode:
authorJoseph Herlant <herlantj@gmail.com>2018-05-25 22:07:07 -0700
committerJoseph Herlant <aerostitch@users.noreply.github.com>2018-05-25 22:17:50 -0700
commit41a1264cdd43a11695de85eab0bd3c941abf2b70 (patch)
tree3da1ef3bebc674807258ae824ff9156a64adf370 /navit/vehicle
parent8a76acb966f7059caf9d72c853175bd923b1e9d7 (diff)
downloadnavit-41a1264cdd43a11695de85eab0bd3c941abf2b70.tar.gz
cleanup:cmake:remove trailing spaces
Diffstat (limited to 'navit/vehicle')
-rw-r--r--navit/vehicle/gpsd_dbus/CMakeLists.txt2
-rw-r--r--navit/vehicle/iphone/corelocation.h2
-rw-r--r--navit/vehicle/iphone/corelocation.m6
-rw-r--r--navit/vehicle/maemo/CMakeLists.txt2
-rw-r--r--navit/vehicle/webos/cJSON.h12
5 files changed, 12 insertions, 12 deletions
diff --git a/navit/vehicle/gpsd_dbus/CMakeLists.txt b/navit/vehicle/gpsd_dbus/CMakeLists.txt
index 435a987a0..a38e65539 100644
--- a/navit/vehicle/gpsd_dbus/CMakeLists.txt
+++ b/navit/vehicle/gpsd_dbus/CMakeLists.txt
@@ -1,2 +1,2 @@
-module_add_library(vehicle_gpsd_dbus vehicle_gpsd_dbus.c)
+module_add_library(vehicle_gpsd_dbus vehicle_gpsd_dbus.c)
diff --git a/navit/vehicle/iphone/corelocation.h b/navit/vehicle/iphone/corelocation.h
index 8a3ee8c51..0ff715964 100644
--- a/navit/vehicle/iphone/corelocation.h
+++ b/navit/vehicle/iphone/corelocation.h
@@ -20,7 +20,7 @@
#define VEHICLE_IPHONE_CORELOCATION_H
typedef void(*FT_LOCATION_CB)(void *, double , double , double , double, char *, double);
-void corelocation_update(double lat,
+void corelocation_update(double lat,
double lng,
double dir,
double spd,
diff --git a/navit/vehicle/iphone/corelocation.m b/navit/vehicle/iphone/corelocation.m
index 5b13c283f..5f02500f3 100644
--- a/navit/vehicle/iphone/corelocation.m
+++ b/navit/vehicle/iphone/corelocation.m
@@ -39,7 +39,7 @@ void corelocation_init(void * pv_arg, FT_LOCATION_CB pf_cb) {
/** Save callbacks */
locationcontroller->pv_arg = pv_arg;
- locationcontroller->pf_cb = pf_cb;
+ locationcontroller->pf_cb = pf_cb;
/** Start location process */
[locationcontroller.locationManager startUpdatingLocation];
@@ -64,7 +64,7 @@ void corelocation_exit(void) {
self = [super init];
if (self != nil) {
self.locationManager = [[[CLLocationManager alloc] init] autorelease];
- self.locationManager.distanceFilter = kCLDistanceFilterNone;
+ self.locationManager.distanceFilter = kCLDistanceFilterNone;
self.locationManager.delegate = self; // send loc updates to myself
self.pf_cb = NULL;
self.pv_arg = NULL;
@@ -82,7 +82,7 @@ fromLocation:(CLLocation *)oldLocation
{
NSLog(@"New Location: %@", [newLocation description]);
NSString *newDateString = [self.dateFormatter stringFromDate:newLocation.timestamp];
- const char* cString = [newDateString cStringUsingEncoding:NSASCIIStringEncoding];
+ const char* cString = [newDateString cStringUsingEncoding:NSASCIIStringEncoding];
if(self.pf_cb) {
self.pf_cb(
diff --git a/navit/vehicle/maemo/CMakeLists.txt b/navit/vehicle/maemo/CMakeLists.txt
index 2e74763dd..011e5dce9 100644
--- a/navit/vehicle/maemo/CMakeLists.txt
+++ b/navit/vehicle/maemo/CMakeLists.txt
@@ -1,2 +1,2 @@
-module_add_library(vehicle_maemo vehicle_maemo.c)
+module_add_library(vehicle_maemo vehicle_maemo.c)
diff --git a/navit/vehicle/webos/cJSON.h b/navit/vehicle/webos/cJSON.h
index 97d529aea..61500858f 100644
--- a/navit/vehicle/webos/cJSON.h
+++ b/navit/vehicle/webos/cJSON.h
@@ -1,16 +1,16 @@
/*
Copyright (c) 2009 Dave Gamble
-
+
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
-
+
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
-
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
@@ -36,7 +36,7 @@ extern "C"
#define cJSON_String 4
#define cJSON_Array 5
#define cJSON_Object 6
-
+
#define cJSON_IsReference 256
/* The cJSON structure: */
@@ -80,7 +80,7 @@ extern cJSON *cJSON_GetObjectItem(cJSON *object,const char *string);
/* For analysing failed parses. This returns a pointer to the parse error. You'll probably need to look a few chars back to make sense of it. Defined when cJSON_Parse() returns 0. 0 when cJSON_Parse() succeeds. */
extern const char *cJSON_GetErrorPtr(void);
-
+
/* These calls create a cJSON item of the appropriate type. */
extern cJSON *cJSON_CreateNull(void);
extern cJSON *cJSON_CreateTrue(void);
@@ -109,7 +109,7 @@ extern cJSON *cJSON_DetachItemFromArray(cJSON *array,int which);
extern void cJSON_DeleteItemFromArray(cJSON *array,int which);
extern cJSON *cJSON_DetachItemFromObject(cJSON *object,const char *string);
extern void cJSON_DeleteItemFromObject(cJSON *object,const char *string);
-
+
/* Update array items. */
extern void cJSON_ReplaceItemInArray(cJSON *array,int which,cJSON *newitem);
extern void cJSON_ReplaceItemInObject(cJSON *object,const char *string,cJSON *newitem);