Revert "init: Assign set value to avoid ambiguity"
[platform/core/system/tizen-platform-wrapper.git] / src / isadmin.h
index 3e5fe0f..25ebd75 100644 (file)
@@ -35,7 +35,6 @@ extern "C" {
  * 
  */
 
-#include <pwd.h>
 /*
  * Return 0 if the given uid is not in the admin group.
  * Return 1 if the given uid is in the admin group.
@@ -43,7 +42,7 @@ extern "C" {
  * If you pass the -1 value to this function it will take the current uid given
  * by the POSIX function getuid();
 */
-char is_admin(int uid);
+int _has_system_group_static_(uid_t uid);
 
 #ifdef __cplusplus
 }