From 3ae5776422bcd5a17914e9a63c84736a2789f9a2 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 28 Apr 1998 14:20:16 +0000 Subject: [PATCH] (ether_aton): Declare result variable static. --- inet/ether_aton.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inet/ether_aton.c b/inet/ether_aton.c index eb27b244d9c..0cb8bfc4e49 100644 --- a/inet/ether_aton.c +++ b/inet/ether_aton.c @@ -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 , 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); } -- 2.47.2