e_security: make an internal header 47/304947/1
authorSooChan Lim <sc1.lim@samsung.com>
Mon, 15 Jan 2024 04:45:51 +0000 (13:45 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Fri, 26 Jan 2024 00:59:17 +0000 (09:59 +0900)
Move the internal resources and the function declaration
to the internal header.

Change-Id: I906d30d6222d2c5122544911be7e56d6ac318e5c

src/bin/e_main.c
src/bin/e_security.c
src/bin/e_security.h
src/bin/e_security_intern.h [new file with mode: 0644]

index c148bc6..17ebdad 100644 (file)
@@ -5,6 +5,7 @@
 #include "e_utils_intern.h"
 #include "e_theme_intern.h"
 #include "e_signals_intern.h"
+#include "e_security_intern.h"
 
 #ifdef __linux__
 # include <sys/prctl.h>
index b3ccba8..c58d4ab 100644 (file)
@@ -1,4 +1,5 @@
 #include "e.h"
+#include "e_security_intern.h"
 
 #ifdef HAVE_CYNARA
 # include <cynara-session.h>
index b8e0147..2e9a299 100644 (file)
@@ -3,9 +3,6 @@
 #ifndef E_SECURITY_H
 #define E_SECURITY_H
 
-EINTERN int e_security_init(void);
-EINTERN int e_security_shutdown(void);
-
 E_API Eina_Bool e_security_privilege_check(pid_t pid, uid_t uid, const char *privilege);
 
 #endif
diff --git a/src/bin/e_security_intern.h b/src/bin/e_security_intern.h
new file mode 100644 (file)
index 0000000..3729765
--- /dev/null
@@ -0,0 +1,7 @@
+#ifndef E_SECURITY_INTERN_H
+#define E_SECURITY_INTERN_H
+
+EINTERN int e_security_init(void);
+EINTERN int e_security_shutdown(void);
+
+#endif