Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 207292
Collapse All | Expand All

(-)1.4/dbug/factorial.c (-2 / +12 lines)
Lines 1-6 Link Here
1
#ifdef DBUG_OFF				/* We are testing dbug */
1
#ifdef DBUG_OFF				/* We are testing dbug */
2
#undef DBUG_OFF
2
3
#endif
3
int factorial(register int value) {
4
	if(value > 1) {
5
		value *= factorial(value-1);
6
	}
7
	return value;
8
}
9
10
#else
4
11
5
#include <my_global.h>
12
#include <my_global.h>
6
13
Lines 15-17 register int value) Link Here
15
    DBUG_PRINT ("result", ("result is %d", value));
22
    DBUG_PRINT ("result", ("result is %d", value));
16
    DBUG_RETURN (value);
23
    DBUG_RETURN (value);
17
}
24
}
25
26
#endif
27

Return to bug 207292