mirror of
git://sourceware.org/git/glibc.git
synced 2025-04-06 14:10:30 +08:00
(ether_aton): Declare result variable static.
This commit is contained in:
parent
7762bc98a2
commit
3ae5776422
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1996 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1996, 1998 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||
|
||||
@ -24,7 +24,7 @@ Boston, MA 02111-1307, USA. */
|
||||
struct ether_addr *
|
||||
ether_aton (const char *asc)
|
||||
{
|
||||
struct ether_addr result;
|
||||
static struct ether_addr result;
|
||||
|
||||
return ether_aton_r (asc, &result);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user