On Wed, 2005-07-27 at 12:29, Steve Hosgood (that's me) wrote: > The julian_date() routine is pretty much word for word the same as > Johnson's original, but it's 'static' and only used by the GST() > routine. > > The GST() routine is also word for word identical with Johnson's. It is > 'static' and only used by fgSunPosition(). > > fgSunPosition() isn't used anywhere! So we could ditch all three of > these routines immediately with no possible ill effect. >
Just tried it. Also removed the 'extern' reference to 'fgSunPosition()' in sunpos.hxx and it all compiles just fine as expected. Much the same thing applies to moonpos.cxx too. There's a 'julian_date()', 'GST()' and 'fgMoonPosition()' set of defunct routines in there which can be deleted with no ill effect. Remove the 'extern' reference to 'fgMoonPosition()' from moonpos.hxx too. Still working on the remaining issues. Steve _______________________________________________ Flightgear-devel mailing list [email protected] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
