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 c9f1ecd..267f67a 100644
--- a/newlib/libc/stdlib/getenv.c
+++ b/newlib/libc/stdlib/getenv.c
@@ -18,7 +18,7 @@ TRAD_SYNOPSIS
DESCRIPTION
<<getenv>> searches the list of environment variable names and values
-(using the global pointer `<<char **environ>>') for a variable whose
+(using the global pointer ``<<char **environ>>'') for a variable whose
name matches the string at <[name]>. If a variable name matches,
<<getenv>> returns a pointer to the associated value.
@@ -39,7 +39,7 @@ variables vary from one system to another.
*/
/*
- * Copyright (c) 1987 Regents of the University of California.
+ * Copyright (c) 1987, 2000 Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
@@ -63,8 +63,6 @@ variables vary from one system to another.
#include <stddef.h>
#include <string.h>
-extern char **environ;
-
/*
* _findenv --
* Returns pointer to value associated with name, if any, else NULL.