Changeset 301ff30 in mainline for uspace/lib/libc/generic/loader.c


Ignore:
Timestamp:
2009-06-03T22:47:08Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
99272a3
Parents:
98000fb
Message:

rename libc's fs_node_t to inode_t to avoid type conflict with VFS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/generic/loader.c

    r98000fb r301ff30  
    206206 *
    207207 */
    208 int loader_set_files(loader_t *ldr, fs_node_t *const files[])
     208int loader_set_files(loader_t *ldr, inode_t *const files[])
    209209{
    210210        /*
     
    212212         * compute size of the buffer needed.
    213213         */
    214         fs_node_t *const *ap = files;
     214        inode_t *const *ap = files;
    215215        size_t count = 0;
    216216        while (*ap != NULL) {
     
    219219        }
    220220       
    221         fs_node_t *files_buf = (fs_node_t *) malloc(count * sizeof(fs_node_t));
     221        inode_t *files_buf = (inode_t *) malloc(count * sizeof(inode_t));
    222222        if (files_buf == NULL)
    223223                return ENOMEM;
     
    232232        aid_t req = async_send_0(ldr->phone_id, LOADER_SET_FILES, &answer);
    233233        ipcarg_t rc = ipc_data_write_start(ldr->phone_id, (void *) files_buf,
    234             count * sizeof(fs_node_t));
     234            count * sizeof(inode_t));
    235235        if (rc != EOK) {
    236236                async_wait_for(req, NULL);
Note: See TracChangeset for help on using the changeset viewer.