[8420] in Athena Bugs

home help back first fref pref prev next nref lref last post

7.3 decmips kerberometer bug fix

daemon@ATHENA.MIT.EDU (epeisach@Athena.MIT.EDU)
Thu Oct 17 09:22:44 1991

From: epeisach@Athena.MIT.EDU
Date: Thu, 17 Oct 91 09:23:43 -0400
To: bugs@Athena.MIT.EDU


Tracked down the problem, /usr/include/math.h does not declare that rint
returns a double.

The fllowing fixes the problem:

*** /tmp/,RCSt1a25299	Thu Oct 17 09:22:46 1991
--- xklife.c	Thu Oct 17 09:02:12 1991
***************
*** 1,6 ****
--- 1,10 ----
  #include "xklife.h"
  #include "xklife.icon"
  
+ #ifdef ultrix
+ extern double rint();
+ #endif
+ 
  static void     PollingTktStatus();
  char *getenv();
  

home help back first fref pref prev next nref lref last post