blob: 59e7952c28bc1ed68c1734c37fccb6014a6f1125 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
diff -ru netkit-timed-0.17.orig/timed/timed/timed.c netkit-timed-0.17/timed/timed/timed.c
--- netkit-timed-0.17.orig/timed/timed/timed.c 1999-12-13 03:35:07.000000000 +0930
+++ netkit-timed-0.17/timed/timed/timed.c 2004-08-07 09:37:11.924147496 +0930
@@ -39,10 +39,10 @@
* From: @(#)timed.c 5.1 (Berkeley) 5/11/93
*/
char timed_rcsid[] =
- "$Id: 0.17-timed.patch,v 1.1 2004/08/07 01:31:34 dragonheart Exp $";
+ "$Id: 0.17-timed.patch,v 1.1 2004/08/07 01:31:34 dragonheart Exp $";
#ifdef sgi
-#ident "$Revision: 1.1 $"
+#ident "$Revision: 1.1 $"
#endif /* sgi */
#define TSPTYPES
@@ -899,7 +899,7 @@
get_goodgroup(int force)
{
# define NG_DELAY (30*60*CLK_TCK) /* 30 minutes */
- static unsigned long last_update = -NG_DELAY;
+ const unsigned long last_update = -NG_DELAY;
unsigned long new_update;
/* struct hosttbl *htp; */
struct goodhost *ghp, **ghpp;
|