qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PULL 17/24] bsd-user: move extern to header file


From: Richard Henderson
Subject: Re: [PULL 17/24] bsd-user: move extern to header file
Date: Fri, 23 Apr 2021 16:29:28 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 4/23/21 1:39 PM, imp@bsdimp.com wrote:
From: Warner Losh<imp@bsdimp.com>

extern char **environ has no standard home, so move the declaration from the .c
file to a handy .h file. Since this is a standard, old-school UNIX interface
dating from the 5th edition, it's not quite the same issue that the rule is
supposed to protect against, though.

Signed-off-by: Warner Losh<imp@bsdimp.com>
---
  bsd-user/main.c | 1 -
  bsd-user/qemu.h | 2 ++
  2 files changed, 2 insertions(+), 1 deletion(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]