This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] broken nested declaration of lseek() in telldir.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]