]> Git Repo - qemu.git/commit
bsd-user: style tweak: move extern to header file
authorWarner Losh <[email protected]>
Fri, 23 Apr 2021 16:41:11 +0000 (10:41 -0600)
committerWarner Losh <[email protected]>
Tue, 11 May 2021 17:07:21 +0000 (11:07 -0600)
commit4b599848a8eac9cb12151c81c8815af2c1e03691
tree83ae11138ca3962ffabe9d90f7eea22b95e32640
parentac31939941932de66e7848f1ee53d404e8ab0a2f
bsd-user: style tweak: move extern to header file

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.

Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Warner Losh <[email protected]>
bsd-user/main.c
bsd-user/qemu.h
This page took 0.025758 seconds and 4 git commands to generate.