[xcrysden] Compile fixes for newer gcc

Tone Kokalj xcrysden@democritos.it
Wed, 22 Mar 2006 21:19:43 +0100 (CET)


> Hi Tone,
>
> thanks for reenabling the mailing list.

Thanks to you for spotting the problem.


>> void HandleDisplay(struct Togl *togl);
>> void CameraHome();
>> void Normalise(XYZ *);
>> XYZ  CalcNormal(XYZ,XYZ,XYZ);
>
> But shouldn't you remove them from the .c-file then? I think these are
> classical lines belonging into an .h file ;-).

In principle you are right.

However above functions are local [i.e. static void HandleDisplay(struct
Togl *togl); etc...], used only in xcDisplayFunc.c. Therefore it is OK, if
they are defined only in xcDisplayFunc.c.

Regards, Tone