bug-gcal
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gcal] gcal-3.6: misplaced macro in src/hd-astro.c


From: Friedrich Haubensak
Subject: [Bug-gcal] gcal-3.6: misplaced macro in src/hd-astro.c
Date: Thu, 11 Nov 2010 08:34:54 +0100 (MET)


within gcal-3.6, the following patch should be applied to
src/hd-astro.c :

--- src/hd-astro.c__dist        Wed Jun  2 15:31:48 2010
+++ src/hd-astro.c      Wed Nov 10 16:29:11 2010
@@ -207,8 +207,7 @@
 
 
 
-double delta_t
-__P_ ((day, month, year, hour, min))
+double delta_t (day, month, year, hour, min) 
      const int day;
      const int month;
      const int year;


use of the protoype-hiding macro here is nonsense imho -
and for me it breaks compilation at least on solaris 10 / studio 12.1


-- 
Friedrich Haubensak   address@hidden | Science is true!
   Leibniz Institute for Age Research    |   Don't be mislead by facts.
      - Fritz Lipmann Institute -        +-----------------------------
Beutenbergstrasse 11, D-07745 Jena | Tel. +49-3641-65-6202 | Fax  -6210



reply via email to

[Prev in Thread] Current Thread [Next in Thread]