removed wrong contacts, added authors
[platform/core/location/lbs-location.git] / location / manager / location-position.c
index 4c534c0..7690791 100644 (file)
@@ -3,9 +3,6 @@
  *
  * Copyright (c) 2010-2013 Samsung Electronics Co., Ltd. All rights reserved.
  *
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
- *          Genie Kim <daejins.kim@samsung.com>
- *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
@@ -48,11 +45,7 @@ location_position_get_type(void)
 }
 
 EXPORT_API LocationPosition *
-location_position_new(guint timestamp,
-                                       gdouble latitude,
-                                       gdouble longitude,
-                                       gdouble altitude,
-                                       LocationStatus status)
+location_position_new(guint timestamp, gdouble latitude, gdouble longitude, gdouble altitude, LocationStatus status)
 {
        if (latitude < -90 || latitude > 90) return NULL;
        if (longitude < -180 || longitude > 180) return NULL;
@@ -95,11 +88,7 @@ location_position_copy(const LocationPosition *position)
 
        LocationPosition *new_position = NULL;
 
-       new_position = location_position_new(position->timestamp,
-                                                                               position->latitude,
-                                                                               position->longitude,
-                                                                               position->altitude,
-                                                                               position->status);
+       new_position = location_position_new(position->timestamp, position->latitude, position->longitude, position->altitude, position->status);
 
        return new_position;
 
@@ -195,10 +184,9 @@ location_last_position_a2i(char *position, int *lat, int *lon)
        *lat = atoi(latitude);
        *lon = atoi(longitude);
 
-       if (*d_lat == 'S') {
+       if (*d_lat == 'S')
                *lat = *lat * -1;
-       }
-       if (*d_lon == 'W') {
+
+       if (*d_lon == 'W')
                *lon = *lon * -1;
-       }
 }