From 8e6c95bcce3a476fa48310c95b923d7218feac10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 10 Mar 2005 23:04:48 +0000 Subject: [PATCH] Removed setenv()/getenv() syscalls - env is now changed on the heap. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11671 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/syscalls.h | 3 --- headers/private/kernel/team.h | 6 +----- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/headers/private/kernel/syscalls.h b/headers/private/kernel/syscalls.h index dbebe7c94e..3fc8965455 100644 --- a/headers/private/kernel/syscalls.h +++ b/headers/private/kernel/syscalls.h @@ -258,9 +258,6 @@ int sys_sysctl(int *name, uint namlen, void *oldp, size_t *oldlen, void *newp, size_t newlen); int sys_socket(int family, int type, int proto); -int sys_setenv(const char *userName, const char *userValue, int overwrite); -int sys_getenv(const char *name, char **value); - /* System informations */ extern status_t _kern_get_system_info(system_info *info, size_t size); diff --git a/headers/private/kernel/team.h b/headers/private/kernel/team.h index 64215139d8..0ff074905d 100644 --- a/headers/private/kernel/team.h +++ b/headers/private/kernel/team.h @@ -1,5 +1,5 @@ /* - * Copyright 2004, Haiku Inc. + * Copyright 2004-2005, Haiku Inc. * Distributed under the terms of the MIT License. */ #ifndef _TEAM_H @@ -49,10 +49,6 @@ status_t _user_get_team_info(team_id id, team_info *info); status_t _user_get_next_team_info(int32 *cookie, team_info *info); status_t _user_get_team_usage_info(team_id team, int32 who, team_usage_info *info, size_t size); -// ToDo: please move the "env" setter/getter out of the kernel! -int _user_setenv(const char *name, const char *value, int overwrite); -int _user_getenv(const char *name, char **value); - #ifdef __cplusplus } #endif