X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=libiberty%2Fsetenv.c;h=82bf1b83600fae86c7f9eee99fffaf7bfc157ef3;hb=f809832224cc45eb58812f6d4bb03cbf52fad980;hp=96917d5769f484e8f923de5ec75278b4319be6fe;hpb=eea302037a35add252f2428a463dc7796d67e192;p=deliverable%2Fbinutils-gdb.git diff --git a/libiberty/setenv.c b/libiberty/setenv.c index 96917d5769..82bf1b8360 100644 --- a/libiberty/setenv.c +++ b/libiberty/setenv.c @@ -1,5 +1,4 @@ -/* Copyright (C) 1992, 1995, 1996, 1997, 2002, 2011 Free Software Foundation, - Inc. +/* Copyright (C) 1992-2020 Free Software Foundation, Inc. This file based on setenv.c in the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -62,9 +61,7 @@ extern int errno; #endif #define __environ environ -#ifndef HAVE_ENVIRON_DECL -extern char **environ; -#endif +#include "environ.h" #undef setenv #undef unsetenv