aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdlib/getenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdlib/getenv.c')
-rw-r--r--newlib/libc/stdlib/getenv.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/newlib/libc/stdlib/getenv.c b/newlib/libc/stdlib/getenv.c
index 973a547..107376b 100644
--- a/newlib/libc/stdlib/getenv.c
+++ b/newlib/libc/stdlib/getenv.c
@@ -64,8 +64,7 @@ variables vary from one system to another.
*/
char *
-_DEFUN (_findenv, (name, offset),
- register const char *name,
+_findenv (register const char *name,
int *offset)
{
return _findenv_r (_REENT, name, offset);
@@ -77,8 +76,7 @@ _DEFUN (_findenv, (name, offset),
*/
char *
-_DEFUN (getenv, (name),
- const char *name)
+getenv (const char *name)
{
int offset;