Fix coding rule violation
[platform/core/system/tizen-platform-config.git] / src / context.c
index 85c417b..a0e1bb3 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Copyright (C) 2013-2014 Intel Corporation.
- * 
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Library General Public
  * License as published by the Free Software Foundation; either
@@ -16,9 +16,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  *
  * Authors:
- *   José Bollo <jose.bollo@open.eurogiciel.org>
- *   Stéphane Desneux <stephane.desneux@open.eurogiciel.org>
- *   Jean-Benoit Martin <jean-benoit.martin@open.eurogiciel.org>
+ *      José Bollo <jose.bollo@open.eurogiciel.org>
+ *      Stéphane Desneux <stephane.desneux@open.eurogiciel.org>
+ *      Jean-Benoit Martin <jean-benoit.martin@open.eurogiciel.org>
  *
  */
 
 
 uid_t get_uid(struct tzplatform_context *context)
 {
-    uid_t result;
+       uid_t result;
 
-    result = context->user;
-    if (result == _USER_NOT_SET_)
-        result = getuid();
+       result = context->user;
+       if (result == _USER_NOT_SET_)
+               result = getuid();
 
-    return result;
+       return result;
 }
 
 #if _FOREIGN_HAS_(EUID)
 uid_t get_euid(struct tzplatform_context *context)
 {
-    uid_t result;
+       uid_t result;
 
-    result = context->user;
-    if (result == _USER_NOT_SET_)
-        result = geteuid();
+       result = context->user;
+       if (result == _USER_NOT_SET_)
+               result = geteuid();
 
-    return result;
+       return result;
 }
 #endif
 
 #if _FOREIGN_HAS_(GID)
 gid_t get_gid(struct tzplatform_context *context)
 {
-    return getgid();
+       return getgid();
 }
 #endif