summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2000-03-20 18:16:00 +0000
committerRoland McGrath <roland@gnu.org>2000-03-20 18:16:00 +0000
commit7fb3aa4804390c2d5ed347cc21d88560ed34c65b (patch)
tree32f01b1eb15b629190622186183297bd0b955de1
parent42193407f3bb8036835b67fce0b23f851fbf0e4a (diff)
2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
* delegate.c (fshelp_delegate_translation): Add const to arg type. * fshelp.h: Fix decl.
-rw-r--r--libfshelp/delegate.c5
-rw-r--r--libfshelp/fshelp.h6
2 files changed, 5 insertions, 6 deletions
diff --git a/libfshelp/delegate.c b/libfshelp/delegate.c
index b695a47d..c07d6814 100644
--- a/libfshelp/delegate.c
+++ b/libfshelp/delegate.c
@@ -1,7 +1,6 @@
/* fshelp_delegate_translation
- Copyright (C) 1995,96,99 Free Software Foundation, Inc.
-
+ Copyright (C) 1995,96,99,2000 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.org>
This program is free software; you can redistribute it and/or
@@ -30,7 +29,7 @@
ARGV is the command line. If SERVER_NAME is NULL, then a name is
concocted by appending ARGV[0] to _SERVERS. */
error_t
-fshelp_delegate_translation (char *server_name,
+fshelp_delegate_translation (const char *server_name,
mach_port_t requestor, char **argv)
{
error_t err;
diff --git a/libfshelp/fshelp.h b/libfshelp/fshelp.h
index 08622725..86cafdb1 100644
--- a/libfshelp/fshelp.h
+++ b/libfshelp/fshelp.h
@@ -1,5 +1,5 @@
/* FS helper library definitions
- Copyright (C) 1994, 95, 96, 97, 98, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1994,95,96,97,98,99,2000 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -61,7 +61,7 @@ fshelp_start_translator_long (fshelp_open_fn_t underlying_open_fn,
mach_port_t *ports,
mach_msg_type_name_t ports_type, int ports_len,
int *ints, int ints_len,
- uid_t owner_uid,
+ uid_t owner_uid,
int timeout, fsys_t *control);
@@ -201,7 +201,7 @@ error_t fshelp_get_identity (struct port_bucket *bucket,
the node SERVER_NAME. REQUESTOR is the translator's bootstrap port, and
ARGV is the command line. If SERVER_NAME is NULL, then a name is
concocted by appending ARGV[0] to _SERVERS. */
-error_t fshelp_delegate_translation (char *server_name,
+error_t fshelp_delegate_translation (const char *server_name,
mach_port_t requestor, char **argv);
struct idvec; /* Include <idvec.h> to get the real thing. */