mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 04:50:07 +00:00
hurd: Fix _S_msg_get/set_env_variable prototype
_S_msg_get_env_variable and _S_msg_set_env_variable are taking string_t, not char *. Fixes a warning with gcc 11.
This commit is contained in:
parent
4e58941fc4
commit
ae959c26db
@ -295,7 +295,7 @@ _S_msg_set_fd (mach_port_t msgport, mach_port_t auth,
|
||||
|
||||
kern_return_t
|
||||
_S_msg_get_env_variable (mach_port_t msgport,
|
||||
char *variable,
|
||||
string_t variable, //
|
||||
char **data, mach_msg_type_number_t *datalen)
|
||||
{
|
||||
error_t err;
|
||||
@ -322,8 +322,8 @@ _S_msg_get_env_variable (mach_port_t msgport,
|
||||
|
||||
kern_return_t
|
||||
_S_msg_set_env_variable (mach_port_t msgport, mach_port_t auth,
|
||||
char *variable,
|
||||
char *value,
|
||||
string_t variable, //
|
||||
string_t value, //
|
||||
int replace)
|
||||
{
|
||||
AUTHCHECK;
|
||||
|
Loading…
Reference in New Issue
Block a user