[m-dev.] oops - the diff

Thomas Charles CONWAY conway at cs.mu.OZ.AU
Thu Jun 11 13:51:06 AEST 1998


Fergus Henderson, you write:
> On 11-Jun-1998, Thomas Charles CONWAY <conway at cs.mu.OZ.AU> wrote:
> > diff -u -r1.21 gc.h
> > --- gc.h	1998/06/09 02:11:47	1.21
> > extern void GC_thr_init(void);	/* Needed for Solaris/X86	*/
> ...
> >  #if defined(SOLARIS_THREADS) || defined(IRIX_THREADS) || \
> >  	defined(LINUX_THREADS)
> > -extern void GC_thr_init();	/* Needed for Solaris/X86	*/
> > +extern void GC_thr_init(void);	/* Needed for Solaris/X86	*/
> 
> Why is GC_thr_init() declared twice, once inside the #ifdef
> and once outside?
> 

Um, you tell me? I just made the declaration ansi.

> 
> I think that code needs to be duplicated in compiler/mercury_compile.m.
> 

Will do.
-- 
Thomas Conway <conway at cs.mu.oz.au>
Nail here [] for new monitor.  )O+



More information about the developers mailing list