and these
authordiscomfitor <discomfitor>
Tue, 10 Aug 2010 12:05:51 +0000 (12:05 +0000)
committerdiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 10 Aug 2010 12:05:51 +0000 (12:05 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50961 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/include/eina_module.h
src/include/eina_private.h
src/lib/eina_main.c
src/lib/eina_module.c

index 113fb69..c5e25bd 100644 (file)
@@ -164,7 +164,7 @@ eina_module_list_unload(Eina_Array *list) EINA_ARG_NONNULL(1);
 EAPI void
 eina_module_list_free(Eina_Array *list) EINA_ARG_NONNULL(1);
 EAPI Eina_Module *
-eina_module_find(Eina_Array *array, const char *module) EINA_ARG_NONNULL(
+eina_module_find(const Eina_Array *array, const char *module) EINA_ARG_NONNULL(
    1,
    2);
 
index f952be9..7e8074b 100644 (file)
@@ -129,10 +129,6 @@ void eina_share_common_threads_init(void);
 void eina_share_common_threads_shutdown(void);
 void eina_log_threads_init(void);
 void eina_log_threads_shutdown(void);
-#ifdef EINA_RWLOCKS_ENABLE
-void eina_array_threadsafety_init(void);
-void eina_array_threadsafety_shutdown(void);
-#endif
 #endif
 
 #endif /* EINA_PRIVATE_H_ */
index b51aec8..9cb13f7 100644 (file)
@@ -311,9 +311,6 @@ eina_threads_init(void)
 
    eina_share_common_threads_init();
    eina_log_threads_init();
-#ifdef EFL_HAVE_POSIX_THREADS_RWLOCK
-   eina_array_threadsafety_init();
-#endif
    _threads_activated = EINA_TRUE;
 
    return ret;
@@ -352,9 +349,6 @@ eina_threads_shutdown(void)
 
    eina_share_common_threads_shutdown();
    eina_log_threads_shutdown();
-#ifdef EFL_HAVE_POSIX_THREADS_RWLOCK
-   eina_array_threadsafety_shutdown();
-#endif
 
    _threads_activated = EINA_FALSE;
 
index fb6c326..5806c5f 100644 (file)
@@ -623,7 +623,7 @@ EAPI Eina_Array *eina_module_list_get(Eina_Array *array,
  * If the element is found return the module else NULL.
  */
 EAPI Eina_Module *
-eina_module_find(Eina_Array *array, const char *module)
+eina_module_find(const Eina_Array *array, const char *module)
 {
    unsigned int i;
    Eina_Array_Iterator iterator;