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

Changeset 4cac2d69 in mainline


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

Location:
uspace/srv
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/clip/clip.c

    rb1d3c36 r4cac2d69  
    6565                break;
    6666        case CLIPBOARD_TAG_DATA:
    67                 rc = async_data_write_accept((char **) &data, false, 0, 0, 0, &size);
     67                rc = async_data_write_accept((void **) &data, false, 0, 0, 0, &size);
    6868                if (rc != EOK) {
    6969                        ipc_answer_0(rid, rc);
  • uspace/srv/devmap/devmap.c

    rb1d3c36 r4cac2d69  
    396396         * Get driver name
    397397         */
    398         int rc = async_data_write_accept((char **) &driver->name, true, 0,
     398        int rc = async_data_write_accept((void **) &driver->name, true, 0,
    399399            DEVMAP_NAME_MAXLEN, 0, NULL);
    400400        if (rc != EOK) {
     
    511511        /* Get fqdn */
    512512        char *fqdn;
    513         int rc = async_data_write_accept((char **) &fqdn, true, 0,
     513        int rc = async_data_write_accept((void **) &fqdn, true, 0,
    514514            DEVMAP_NAME_MAXLEN, 0, NULL);
    515515        if (rc != EOK) {
     
    624624       
    625625        /* Get fqdn */
    626         int rc = async_data_write_accept((char **) &fqdn, true, 0,
     626        int rc = async_data_write_accept((void **) &fqdn, true, 0,
    627627            DEVMAP_NAME_MAXLEN, 0, NULL);
    628628        if (rc != EOK) {
     
    686686       
    687687        /* Get device name */
    688         int rc = async_data_write_accept((char **) &name, true, 0,
     688        int rc = async_data_write_accept((void **) &name, true, 0,
    689689            DEVMAP_NAME_MAXLEN, 0, NULL);
    690690        if (rc != EOK) {
  • uspace/srv/fs/devfs/devfs_ops.c

    rb1d3c36 r4cac2d69  
    419419       
    420420        /* Accept the mount options */
    421         ipcarg_t retval = async_data_write_accept((char **) &opts, true, 0, 0,
     421        ipcarg_t retval = async_data_write_accept((void **) &opts, true, 0, 0,
    422422            0, NULL);
    423423        if (retval != EOK) {
  • uspace/srv/fs/fat/fat_ops.c

    rb1d3c36 r4cac2d69  
    977977        /* Accept the mount options */
    978978        char *opts;
    979         int rc = async_data_write_accept((char **) &opts, true, 0, 0, 0, NULL);
     979        int rc = async_data_write_accept((void **) &opts, true, 0, 0, 0, NULL);
    980980       
    981981        if (rc != EOK) {
  • uspace/srv/fs/tmpfs/tmpfs_ops.c

    rb1d3c36 r4cac2d69  
    442442        /* Accept the mount options */
    443443        char *opts;
    444         int rc = async_data_write_accept((char **) &opts, true, 0, 0, 0, NULL);
     444        int rc = async_data_write_accept((void **) &opts, true, 0, 0, 0, NULL);
    445445       
    446446        if (rc != EOK) {
  • 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.