e_user: make an internal header 42/304942/1
authorSooChan Lim <sc1.lim@samsung.com>
Mon, 15 Jan 2024 02:10:32 +0000 (11:10 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Fri, 26 Jan 2024 00:59:16 +0000 (09:59 +0900)
Move the internal resources and the function declaration
to the internal header.

Change-Id: Ifa999874a2d87753a6d51306f3e52fcddba8ac97

src/bin/Makefile.mk
src/bin/e_config.c
src/bin/e_includes.h
src/bin/e_main.c
src/bin/e_module.c
src/bin/e_path.c
src/bin/e_user_intern.h [moved from src/bin/e_user.h with 94% similarity]

index ce097d0..649a514 100644 (file)
@@ -70,7 +70,6 @@ src/bin/e_scale.h \
 src/bin/e_screensaver.h \
 src/bin/e_signals.h \
 src/bin/e_theme.h \
-src/bin/e_user.h \
 src/bin/e_utils.h \
 src/bin/e_zone.h \
 src/bin/e_util_transform.h \
index fb9fa6d..1469ce0 100644 (file)
@@ -1,4 +1,5 @@
 #include "e.h"
+#include "e_user_intern.h"
 
 E_API E_Config *e_config = NULL;
 
index 8f5ac42..e1495f1 100644 (file)
@@ -1,5 +1,4 @@
 #include "e_object.h"
-#include "e_user.h"
 #include "e_path.h"
 #include "e_error.h"
 #include "e_focus_policy_iface.h"
index 6870136..d5e5f92 100644 (file)
@@ -1,6 +1,7 @@
 #include "e.h"
 #include "e_actions_intern.h"
 #include "e_test_helper_intern.h"
+#include "e_user_intern.h"
 
 #ifdef __linux__
 # include <sys/prctl.h>
index e46768f..2950eb0 100644 (file)
@@ -1,4 +1,5 @@
 #include "e.h"
+#include "e_user_intern.h"
 
 /* TODO List:
  *
index 310736b..d22087c 100644 (file)
@@ -1,4 +1,5 @@
 #include "e.h"
+#include "e_user_intern.h"
 
 /* local subsystem functions */
 static void      _e_path_free(E_Path *ep);
similarity index 94%
rename from src/bin/e_user.h
rename to src/bin/e_user_intern.h
index 968ee77..c252a0a 100644 (file)
@@ -1,7 +1,5 @@
-#ifdef E_TYPEDEFS
-#else
-#ifndef E_USER_H
-#define E_USER_H
+#ifndef E_USER_INTERN_H
+#define E_USER_INTERN_H
 
 EINTERN int       e_user_init(void);
 EINTERN int       e_user_shutdown(void);
@@ -21,4 +19,3 @@ EINTERN size_t      e_user_dir_snprintf(char *dst, size_t size, const char *fmt,
 #define e_user_dir_concat_static(dst, path) e_user_dir_concat_len(dst, sizeof(dst), path,  (sizeof(path) > 0) ? sizeof(path) - 1 : 0)
 
 #endif
-#endif