1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00

Define extern **environ in global scope instead of in function.

This commit is contained in:
Xin LI 2009-02-21 03:50:25 +00:00
parent 61613f1912
commit a751987ad5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=188889

View File

@ -1,4 +1,4 @@
/*
/*-
* Copyright (c) 1987, 1993
* The Regents of the University of California. All rights reserved.
*
@ -54,6 +54,7 @@ __FBSDID("$FreeBSD$");
#include <unistd.h>
void usage(void);
extern char **environ;
/*
* printenv
@ -64,7 +65,6 @@ void usage(void);
int
main(int argc, char *argv[])
{
extern char **environ;
char *cp, **ep;
size_t len;
int ch;