summaryrefslogtreecommitdiff
path: root/src/lib/eina
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@samsung.com>2013-10-28 18:26:10 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-10-28 18:32:40 +0900
commit570ce667f385c2fa3d36f0280eef6222a3e19a0b (patch)
treedaf3e394b77a6fd494855c205b39a0111d66e967 /src/lib/eina
parent60a34c1cd0e7e5b51bb83a07ffa2cae869eb0179 (diff)
eina: fix API as we don't and never will touch memory for write in that function.
Diffstat (limited to 'src/lib/eina')
-rw-r--r--src/lib/eina/eina_file.c2
-rw-r--r--src/lib/eina/eina_file.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eina/eina_file.c b/src/lib/eina/eina_file.c
index b9d7b14d39..7b8aaff9e6 100644
--- a/src/lib/eina/eina_file.c
+++ b/src/lib/eina/eina_file.c
@@ -1122,7 +1122,7 @@ eina_file_map_free(Eina_File *file, void *map)
1122} 1122}
1123 1123
1124EAPI void 1124EAPI void
1125eina_file_map_populate(Eina_File *file, Eina_File_Populate rule, void *map, 1125eina_file_map_populate(Eina_File *file, Eina_File_Populate rule, const void *map,
1126 unsigned long int offset, unsigned long int length) 1126 unsigned long int offset, unsigned long int length)
1127{ 1127{
1128 Eina_File_Map *em; 1128 Eina_File_Map *em;
diff --git a/src/lib/eina/eina_file.h b/src/lib/eina/eina_file.h
index 234cb2ace4..8384e2a22a 100644
--- a/src/lib/eina/eina_file.h
+++ b/src/lib/eina/eina_file.h
@@ -629,7 +629,7 @@ EAPI void eina_file_map_free(Eina_File *file, void *map);
629 * @sine 1.8 629 * @sine 1.8
630 */ 630 */
631EAPI void 631EAPI void
632eina_file_map_populate(Eina_File *file, Eina_File_Populate rule, void *map, 632eina_file_map_populate(Eina_File *file, Eina_File_Populate rule, const void *map,
633 unsigned long int offset, unsigned long int length); 633 unsigned long int offset, unsigned long int length);
634 634
635/** 635/**