diff options
Diffstat (limited to 'stdlib/getenv.c')
-rw-r--r-- | stdlib/getenv.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/stdlib/getenv.c b/stdlib/getenv.c index f0842fd0cf..9b23b1a64f 100644 --- a/stdlib/getenv.c +++ b/stdlib/getenv.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2015 Free Software Foundation, Inc. +/* Copyright (C) 1991-2016 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -30,8 +30,7 @@ two characters which we can access. By doing this we can avoid using the `strncmp' most of the time. */ char * -getenv (name) - const char *name; +getenv (const char *name) { size_t len = strlen (name); char **ep; |