summaryrefslogtreecommitdiff
path: root/node.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-10-03 21:35:37 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-10-03 21:35:37 +0200
commitd1d0d8f4d628a2ab8c851d88fc0bc1e05aa5febc (patch)
tree6011a68a1f5663993eaea665aa743e081139583b /node.h
parentfb0a19fb706b4d46d640ea3eef4cd170290a1a59 (diff)
Fix build
Diffstat (limited to 'node.h')
-rw-r--r--node.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/node.h b/node.h
index 3d4aac44f..e169ad101 100644
--- a/node.h
+++ b/node.h
@@ -151,8 +151,8 @@ error_t node_unlink_file (node_t * dir, char *name);
of the translator opened as `flags.`*/
error_t
node_set_translator
- (struct protid *diruser, node_t * np, char * trans, int flags,
- char * filename, mach_port_t * port);
+ (struct protid *diruser, node_t * np, const char * trans, int flags,
+ const char * filename, mach_port_t * port);
/*---------------------------------------------------------------------------*/
/*Gets the port to the supplied node. */
error_t