Ignore:
File:
1 edited

Legend:

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

    r3e6a98c5 rc1f27f1d  
    3737#include <errno.h>
    3838#include <malloc.h>
    39 #include <stdbool.h>
     39#include <bool.h>
    4040
    4141static FIBRIL_MUTEX_INITIALIZE(loc_supp_block_mutex);
     
    246246       
    247247        if (retval != EOK) {
    248                 async_forget(req);
     248                async_wait_for(req, NULL);
    249249                return retval;
    250250        }
     
    285285       
    286286        if (retval != EOK) {
    287                 async_forget(req);
     287                async_wait_for(req, NULL);
    288288                return retval;
    289289        }
     
    352352       
    353353        if (retval != EOK) {
    354                 async_forget(req);
     354                async_wait_for(req, NULL);
    355355                return retval;
    356356        }
     
    401401       
    402402        if (dretval != EOK) {
    403                 async_forget(req);
     403                async_wait_for(req, NULL);
    404404                return dretval;
    405405        }
     
    448448{
    449449        return loc_get_name_internal(LOC_SERVICE_GET_NAME, svc_id, name);
    450 }
    451 
    452 /** Get service server name.
    453  *
    454  * Provided ID of a service, return the name of its server.
    455  *
    456  * @param svc_id        Service ID
    457  * @param name          Place to store pointer to new string. Caller should
    458  *                      free it using free().
    459  * @return              EOK on success or negative error code
    460  */
    461 int loc_service_get_server_name(service_id_t svc_id, char **name)
    462 {
    463         return loc_get_name_internal(LOC_SERVICE_GET_SERVER_NAME, svc_id, name);
    464450}
    465451
     
    485471       
    486472        if (retval != EOK) {
    487                 async_forget(req);
     473                async_wait_for(req, NULL);
    488474                return retval;
    489475        }
     
    534520       
    535521        if (retval != EOK) {
    536                 async_forget(req);
     522                async_wait_for(req, NULL);
    537523                return retval;
    538524        }
     
    697683               
    698684                if (rc != EOK) {
    699                         async_forget(req);
     685                        async_wait_for(req, NULL);
    700686                        free(devs);
    701687                        return 0;
     
    746732               
    747733                if (rc != EOK) {
    748                         async_forget(req);
     734                        async_wait_for(req, NULL);
    749735                        free(devs);
    750736                        return 0;
     
    774760       
    775761        if (rc != EOK) {
    776                 async_forget(req);
     762                async_wait_for(req, NULL);
    777763                return rc;
    778764        }
Note: See TracChangeset for help on using the changeset viewer.