[patch] broken nested declaration of lseek() in telldir.c
Corinna Vinschen
vinschen@redhat.com
Sat Feb 6 10:33:00 GMT 2010
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
More information about the Newlib
mailing list