diff options
author | JinYong Park <j4939.park@samsung.com> | 2017-10-13 14:02:31 -0700 |
---|---|---|
committer | Cedric Bail <cedric@osg.samsung.com> | 2017-10-13 14:02:37 -0700 |
commit | b05cae250c34764d6055cf3ee898efbab42565ba (patch) | |
tree | fe3710b8ad31e3651ac02d01cfd33a5e1cbd3f42 /src/lib/ecore_file | |
parent | 377a68561987c8fc1bdd33842488683b2a7e8a8b (diff) |
ecore_file: rename parameter for doxygen
Summary:
Some parameter's name are different in annotations and statements,
so it occurs doxygen warning.
To fix it, rename that parameters.
Test Plan: API Doxygen Revision
Reviewers: raster, cedric, jpeg, myoungwoon, Jaehyun_Cho
Reviewed By: cedric
Differential Revision: https://phab.enlightenment.org/D5313
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Diffstat (limited to '')
-rw-r--r-- | src/lib/ecore_file/Ecore_File.h | 10 | ||||
-rw-r--r-- | src/lib/ecore_file/ecore_file.c | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/ecore_file/Ecore_File.h b/src/lib/ecore_file/Ecore_File.h index 9a8402df31..57cb550e30 100644 --- a/src/lib/ecore_file/Ecore_File.h +++ b/src/lib/ecore_file/Ecore_File.h | |||
@@ -383,7 +383,7 @@ EAPI const char *ecore_file_file_get (const char *path); | |||
383 | * returns @c NULL. When not needed anymore, the returned value must | 383 | * returns @c NULL. When not needed anymore, the returned value must |
384 | * be freed. | 384 | * be freed. |
385 | */ | 385 | */ |
386 | EAPI char *ecore_file_dir_get (const char *path); | 386 | EAPI char *ecore_file_dir_get (const char *file); |
387 | 387 | ||
388 | /** | 388 | /** |
389 | * @brief Checks if the given file can be read. | 389 | * @brief Checks if the given file can be read. |
@@ -422,7 +422,7 @@ EAPI Eina_Bool ecore_file_can_exec (const char *file); | |||
422 | /** | 422 | /** |
423 | * @brief Gets the path pointed by the given link. | 423 | * @brief Gets the path pointed by the given link. |
424 | * | 424 | * |
425 | * @param lnk The name of the link. | 425 | * @param link The name of the link. |
426 | * @return The path pointed by link or NULL. | 426 | * @return The path pointed by link or NULL. |
427 | * | 427 | * |
428 | * This function returns the path pointed by @p link as a newly | 428 | * This function returns the path pointed by @p link as a newly |
@@ -488,7 +488,7 @@ EAPI char *ecore_file_escape_name (const char *filename); | |||
488 | * failure, the function returns @c NULL. When not needed anymore, the | 488 | * failure, the function returns @c NULL. When not needed anymore, the |
489 | * returned value must be freed. | 489 | * returned value must be freed. |
490 | */ | 490 | */ |
491 | EAPI char *ecore_file_strip_ext (const char *file); | 491 | EAPI char *ecore_file_strip_ext (const char *path); |
492 | 492 | ||
493 | /** | 493 | /** |
494 | * @brief Checks if the given directory is empty. | 494 | * @brief Checks if the given directory is empty. |
@@ -537,7 +537,7 @@ EAPI Ecore_File_Monitor *ecore_file_monitor_add(const char *path, | |||
537 | * of the notify methods (Inotify, Windows notification or polling) is | 537 | * of the notify methods (Inotify, Windows notification or polling) is |
538 | * availablethis function does nothing. | 538 | * availablethis function does nothing. |
539 | */ | 539 | */ |
540 | EAPI void ecore_file_monitor_del(Ecore_File_Monitor *ecore_file_monitor); | 540 | EAPI void ecore_file_monitor_del(Ecore_File_Monitor *em); |
541 | 541 | ||
542 | /** | 542 | /** |
543 | * @brief Gets the monitored path. | 543 | * @brief Gets the monitored path. |
@@ -550,7 +550,7 @@ EAPI void ecore_file_monitor_del(Ecore_File_Monitor *ecore_file_m | |||
550 | * returned by ecore_file_monitor_add(). If @p em is @c NULL, the | 550 | * returned by ecore_file_monitor_add(). If @p em is @c NULL, the |
551 | * function returns @c NULL. | 551 | * function returns @c NULL. |
552 | */ | 552 | */ |
553 | EAPI const char *ecore_file_monitor_path_get(Ecore_File_Monitor *ecore_file_monitor); | 553 | EAPI const char *ecore_file_monitor_path_get(Ecore_File_Monitor *em); |
554 | 554 | ||
555 | /* Path */ | 555 | /* Path */ |
556 | 556 | ||
diff --git a/src/lib/ecore_file/ecore_file.c b/src/lib/ecore_file/ecore_file.c index f5c15b6e60..14c1934853 100644 --- a/src/lib/ecore_file/ecore_file.c +++ b/src/lib/ecore_file/ecore_file.c | |||
@@ -631,12 +631,12 @@ ecore_file_can_exec(const char *file) | |||
631 | } | 631 | } |
632 | 632 | ||
633 | EAPI char * | 633 | EAPI char * |
634 | ecore_file_readlink(const char *lnk) | 634 | ecore_file_readlink(const char *link) |
635 | { | 635 | { |
636 | char buf[PATH_MAX]; | 636 | char buf[PATH_MAX]; |
637 | int count; | 637 | int count; |
638 | 638 | ||
639 | if ((count = readlink(lnk, buf, sizeof(buf) - 1)) < 0) return NULL; | 639 | if ((count = readlink(link, buf, sizeof(buf) - 1)) < 0) return NULL; |
640 | buf[count] = 0; | 640 | buf[count] = 0; |
641 | return strdup(buf); | 641 | return strdup(buf); |
642 | } | 642 | } |