This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [patch] broken nested declaration of lseek() in telldir.c
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: newlib at sourceware dot org
- Date: Sat, 6 Feb 2010 11:32:49 +0100
- Subject: Re: [patch] broken nested declaration of lseek() in telldir.c
- References: <4B6D0A33.3010907@rtems.org>
- Reply-to: newlib at sourceware dot org
On Feb 6 07:20, Ralf Corsepius wrote:
> * libc/posix/telldir.c: Remove bogus nested prototype of lseek().
>
> Index: libc/posix/telldir.c
> ===================================================================
> RCS file: /cvs/src/src/newlib/libc/posix/telldir.c,v
> retrieving revision 1.7
> diff -u -r1.7 telldir.c
> --- libc/posix/telldir.c 11 Jan 2010 23:24:47 -0000 1.7
> +++ libc/posix/telldir.c 6 Feb 2010 06:16:55 -0000
> @@ -119,7 +119,6 @@
> register struct ddloc *lp;
> register struct ddloc **prevlp;
> struct dirent *dp;
> - extern long lseek();
>
> #ifdef HAVE_DD_LOCK
> __lock_acquire(dd_hash_lock);
Looks pretty obvious to me. I checked it in.
Corinna
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat