Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 4cac2d69 in mainline for uspace/srv/vfs/vfs_ops.c


Ignore:
Timestamp:
2010-02-04T17:01:07Z (12 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
d42976c
Parents:
b1d3c36
Message:

fix futile typedef to a working one

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs_ops.c

    rb1d3c36 r4cac2d69  
    267267        /* We want the client to send us the mount point. */
    268268        char *mp;
    269         int rc = async_data_write_accept((char **) &mp, true, 0, MAX_PATH_LEN,
     269        int rc = async_data_write_accept((void **) &mp, true, 0, MAX_PATH_LEN,
    270270            0, NULL);
    271271        if (rc != EOK) {
     
    276276        /* Now we expect to receive the mount options. */
    277277        char *opts;
    278         rc = async_data_write_accept((char **) &opts, true, 0, MAX_MNTOPTS_LEN,
     278        rc = async_data_write_accept((void **) &opts, true, 0, MAX_MNTOPTS_LEN,
    279279            0, NULL);
    280280        if (rc != EOK) {
     
    289289         */
    290290        char *fs_name;
    291         rc = async_data_write_accept((char **) &fs_name, true, 0, FS_NAME_MAXLEN,
     291        rc = async_data_write_accept((void **) &fs_name, true, 0, FS_NAME_MAXLEN,
    292292            0, NULL);
    293293        if (rc != EOK) {
     
    360360         * Receive the mount point path.
    361361         */
    362         rc = async_data_write_accept((char **) &mp, true, 0, MAX_PATH_LEN,
     362        rc = async_data_write_accept((void **) &mp, true, 0, MAX_PATH_LEN,
    363363            0, NULL);
    364364        if (rc != EOK)
     
    526526       
    527527        char *path;
    528         int rc = async_data_write_accept((char **) &path, true, 0, 0, 0, NULL);
     528        int rc = async_data_write_accept((void **) &path, true, 0, 0, 0, NULL);
    529529        if (rc != EOK) {
    530530                ipc_answer_0(rid, rc);
     
    10111011{
    10121012        char *path;
    1013         int rc = async_data_write_accept((char **) &path, true, 0, 0, 0, NULL);
     1013        int rc = async_data_write_accept((void **) &path, true, 0, 0, 0, NULL);
    10141014        if (rc != EOK) {
    10151015                ipc_answer_0(rid, rc);
     
    10651065       
    10661066        char *path;
    1067         int rc = async_data_write_accept((char **) &path, true, 0, 0, 0, NULL);
     1067        int rc = async_data_write_accept((void **) &path, true, 0, 0, 0, NULL);
    10681068        if (rc != EOK) {
    10691069                ipc_answer_0(rid, rc);
     
    10871087       
    10881088        char *path;
    1089         int rc = async_data_write_accept((char **) &path, true, 0, 0, 0, NULL);
     1089        int rc = async_data_write_accept((void **) &path, true, 0, 0, 0, NULL);
    10901090        if (rc != EOK) {
    10911091                ipc_answer_0(rid, rc);
     
    11221122        /* Retrieve the old path. */
    11231123        char *old;
    1124         int rc = async_data_write_accept((char **) &old, true, 0, 0, 0, NULL);
     1124        int rc = async_data_write_accept((void **) &old, true, 0, 0, 0, NULL);
    11251125        if (rc != EOK) {
    11261126                ipc_answer_0(rid, rc);
     
    11301130        /* Retrieve the new path. */
    11311131        char *new;
    1132         rc = async_data_write_accept((char **) &new, true, 0, 0, 0, NULL);
     1132        rc = async_data_write_accept((void **) &new, true, 0, 0, 0, NULL);
    11331133        if (rc != EOK) {
    11341134                free(old);
Note: See TracChangeset for help on using the changeset viewer.