summaryrefslogtreecommitdiff
path: root/src/lib/eina
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2019-09-16 09:42:03 +0200
committerStefan Schmidt <s.schmidt@samsung.com>2019-09-16 12:02:42 +0200
commit1d0a63695369da812b89a838ef21561211632bd9 (patch)
treeb877873d8462fbb9fa08ac53d33920a66955f55a /src/lib/eina
parent5028b6b7c0616eda2d214fd1b6fdb39da72661a7 (diff)
eina: fix spelling in new eina_file_statgen API
Introduced in 9b294d6284f the new eina_file_statgen_* API has a typo in its disable function. Fixing this before it gets out into a release. Thanks goes to the https://abi-laboratory.pro service for offering their great API/ABI reports to the open source communities to help finding such things! Differential Revision: https://phab.enlightenment.org/D9962
Diffstat (limited to 'src/lib/eina')
-rw-r--r--src/lib/eina/eina_file.h2
-rw-r--r--src/lib/eina/eina_file_common.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eina/eina_file.h b/src/lib/eina/eina_file.h
index 07a045e..ade3b4f 100644
--- a/src/lib/eina/eina_file.h
+++ b/src/lib/eina/eina_file.h
@@ -798,7 +798,7 @@ EAPI void eina_file_statgen_enable(void);
798 * @brief Disable stat generation count optimiziing to only stat/do file i/o between generation counts changing 798 * @brief Disable stat generation count optimiziing to only stat/do file i/o between generation counts changing
799 * @since 1.23 799 * @since 1.23
800 */ 800 */
801EAPI void eina_file_statgen_bisable(void); 801EAPI void eina_file_statgen_disable(void);
802 802
803/** 803/**
804 * @} 804 * @}
diff --git a/src/lib/eina/eina_file_common.c b/src/lib/eina/eina_file_common.c
index 331a971..7fdf491 100644
--- a/src/lib/eina/eina_file_common.c
+++ b/src/lib/eina/eina_file_common.c
@@ -108,7 +108,7 @@ eina_file_statgen_enable(void)
108} 108}
109 109
110EAPI void 110EAPI void
111eina_file_statgen_bisable(void) 111eina_file_statgen_disable(void)
112{ 112{
113 eina_spinlock_take(&_eina_statgen_lock); 113 eina_spinlock_take(&_eina_statgen_lock);
114 _eina_statgen = 0; 114 _eina_statgen = 0;