blob: bd5a32a9eea09ce7d4f8526d40dc7af58f82dcfa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$NetBSD: patch-aa,v 1.1 2005/11/30 19:08:54 rillig Exp $
In ISO C90, declarations may not be intermixed with code.
--- pyqt_memaid/ann/memaid.c.orig Thu Sep 29 11:36:02 2005
+++ pyqt_memaid/ann/memaid.c Wed Nov 30 20:04:42 2005
@@ -949,10 +949,10 @@ u_short ma_rpts_upto (u_short to_day) {
u_short ma_rpts_drill (u_short grade_threshold) { /* bruno: how many to drill */
register u_short count = 0;
register struct elem *e = List;
+ u_short to_day;
if (e == NULL)
return 0;
- u_short to_day;
to_day = days(0) ;
/*if (e->tm_t_rpt - e->ivl > to_day )
|