aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdlib/setenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdlib/setenv.c')
-rw-r--r--newlib/libc/stdlib/setenv.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/newlib/libc/stdlib/setenv.c b/newlib/libc/stdlib/setenv.c
index e68e91d..b0c1585 100644
--- a/newlib/libc/stdlib/setenv.c
+++ b/newlib/libc/stdlib/setenv.c
@@ -32,8 +32,7 @@ extern int _unsetenv_r (struct _reent *, const char *);
*/
int
-_DEFUN (setenv, (name, value, rewrite),
- const char *name,
+setenv (const char *name,
const char *value,
int rewrite)
{
@@ -45,8 +44,7 @@ _DEFUN (setenv, (name, value, rewrite),
* Delete environmental variable "name".
*/
int
-_DEFUN (unsetenv, (name),
- const char *name)
+unsetenv (const char *name)
{
return _unsetenv_r (_REENT, name);
}