diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-12-27 09:14:45 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2007-12-27 09:14:45 +0000 |
commit | f163450fc0969ebd6f63c5d9bd059f6f0d107d75 (patch) | |
tree | 1d7cb198dead8b16362e6ed6b8f71f52fb50a0d0 /inet | |
parent | c5899b63ebb80de72b909a475e1dd41b99a4080c (diff) |
Updated to fedora-glibc-20071227T0908cvs/fedora-glibc-2_7_90-2
Diffstat (limited to 'inet')
-rw-r--r-- | inet/ether_line.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/inet/ether_line.c b/inet/ether_line.c index 13c5f394cf..21a4c55679 100644 --- a/inet/ether_line.c +++ b/inet/ether_line.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1996, 1999, 2002 Free Software Foundation, Inc. +/* Copyright (C) 1996,1999,2002,2007 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -26,10 +26,7 @@ int ether_line (const char *line, struct ether_addr *addr, char *hostname) { - size_t cnt; - char *cp; - - for (cnt = 0; cnt < 6; ++cnt) + for (size_t cnt = 0; cnt < 6; ++cnt) { unsigned int number; char ch; |