> > diff -ur hurd.old/libpthread/sysdeps/l4/hurd/pt-sysdep.h
> > hurd/libpthread/sysdeps/l4/hurd/pt-sysdep.h
> > --- hurd.old/libpthread/sysdeps/l4/hurd/pt-sysdep.h 2002-10-11
> > 01:05:05.000000000 +0200
> > +++ hurd/libpthread/sysdeps/l4/hurd/pt-sysdep.h 2003-03-09
> > 14:48:11.000000000 +0100
> > @@ -34,17 +34,25 @@
> > L4_ThreadId_t threadid; \
> > L4_Word_t my_errno;
> >
> > -extern inline struct __pthread *
> > +#ifdef __USE_EXTERN_INLINES
> > +
> > +# ifndef _EXTERN_INLINE
> > +# define _EXTERN_INLINE extern __inline
> > +# endif
> > +
> > +_EXTERN_INLINE struct __pthread *
> > _pthread_self (void)
> > {
> > return (struct __pthread *) L4_MyUserDefinedHandle ();
> > }
> >
> > -extern inline void
> > +_EXTERN_INLINE void
> > __pthread_stack_dealloc (void *stackaddr, size_t stacksize)
> > {
> > /* XXX: can only implement this once we have a working memory manager.
> > */
> > return;
> > }
> >
> > +#endif /* __USE_EXTERN_INLINES */
> > +
> > #endif /* pt-sysdep.h */
>
> This is not a public header file so we don't need to worry about
> compiling with -ansi. However, there is a bug here: this needs to
> have the always inline attribute added.
I have fixed this bug and the similar one in
sysdeps/l4/hurd/pt-sysdep.h.
Thanks,
Neal
_______________________________________________
Bug-hurd mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-hurd