Changeset cde999a in mainline for uspace/lib/c/generic/loc.c


Ignore:
Timestamp:
2018-01-04T20:22:51Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3d95c9d, 84a1a54
Parents:
3c7702c0
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 19:18:29)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:22:51)
Message:

Fix comments to stop referring to error codes as negative.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/loc.c

    r3c7702c0 rcde999a  
    371371 * @param name          Place to store pointer to new string. Caller should
    372372 *                      free it using free().
    373  * @return              EOK on success or negative error code
     373 * @return              EOK on success or an error code
    374374 */
    375375static int loc_get_name_internal(sysarg_t method, sysarg_t id, char **name)
     
    421421 * @param name          Place to store pointer to new string. Caller should
    422422 *                      free it using free().
    423  * @return              EOK on success or negative error code
     423 * @return              EOK on success or an error code
    424424 */
    425425int loc_category_get_name(category_id_t cat_id, char **name)
     
    435435 * @param name          Place to store pointer to new string. Caller should
    436436 *                      free it using free().
    437  * @return              EOK on success or negative error code
     437 * @return              EOK on success or an error code
    438438 */
    439439int loc_service_get_name(service_id_t svc_id, char **name)
     
    449449 * @param name          Place to store pointer to new string. Caller should
    450450 *                      free it using free().
    451  * @return              EOK on success or negative error code
     451 * @return              EOK on success or an error code
    452452 */
    453453int loc_service_get_server_name(service_id_t svc_id, char **name)
     
    503503 * @param cat_id        Place to store ID
    504504 * @param flags         IPC_FLAG_BLOCKING to wait for location service to start
    505  * @return              EOK on success or negative error code
     505 * @return              EOK on success or an error code
    506506 */
    507507int loc_category_get_id(const char *name, category_id_t *cat_id,
     
    613613 * @param svc_id        Service ID
    614614 * @param cat_id        Category ID
    615  * @return              EOK on success or negative error code
     615 * @return              EOK on success or an error code
    616616 */
    617617int loc_service_add_to_cat(service_id_t svc_id, service_id_t cat_id)
     
    790790 * @param data          Place to store pointer to array of IDs
    791791 * @param count         Place to store number of IDs
    792  * @return              EOK on success or negative error code
     792 * @return              EOK on success or an error code
    793793 */
    794794static int loc_get_ids_internal(sysarg_t method, sysarg_t arg1,
     
    836836 * @param data          Place to store pointer to array of IDs
    837837 * @param count         Place to store number of IDs
    838  * @return              EOK on success or negative error code
     838 * @return              EOK on success or an error code
    839839 */
    840840int loc_category_get_svcs(category_id_t cat_id, service_id_t **data,
     
    851851 * @param data          Place to store pointer to array of IDs
    852852 * @param count         Place to store number of IDs
    853  * @return              EOK on success or negative error code
     853 * @return              EOK on success or an error code
    854854 */
    855855int loc_get_categories(category_id_t **data, size_t *count)
Note: See TracChangeset for help on using the changeset viewer.