diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-17 00:32:29 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-17 00:43:09 +0100 |
commit | f5fb7c713ea443469406a691e60a6f4567a4cb75 (patch) | |
tree | b16d979915b5ad7e32ffe77ca5f5006dc639a16e /console-client/trans.h | |
parent | dd3048b2e483f66571cfa1b2ccebb2091b9ad990 (diff) | |
download | hurd-f5fb7c713ea443469406a691e60a6f4567a4cb75.tar.gz hurd-f5fb7c713ea443469406a691e60a6f4567a4cb75.tar.bz2 hurd-f5fb7c713ea443469406a691e60a6f4567a4cb75.zip |
Fix const warnings
Now that the RPCs have const, this forces us cleaning our const-meant
functions.
Diffstat (limited to 'console-client/trans.h')
-rw-r--r-- | console-client/trans.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/console-client/trans.h b/console-client/trans.h index 9891cf3f..c7ca6a79 100644 --- a/console-client/trans.h +++ b/console-client/trans.h @@ -37,7 +37,7 @@ struct consnode /* Read data to a node. This is exactly the same as io_write does. */ - error_t (*write) (struct protid *user, char *data, + error_t (*write) (struct protid *user, const char *data, mach_msg_type_number_t datalen, off_t offset, mach_msg_type_number_t *amount); @@ -59,7 +59,7 @@ struct consnode error_t (*readlink) (struct iouser *user, struct node *np, char *buf); /* Called when the symlink is written */ - error_t (*mksymlink) (struct iouser *cred, struct node *np, char *name); + error_t (*mksymlink) (struct iouser *cred, struct node *np, const char *name); struct consnode *next; }; |