arith: use volatile to attempt to thwart optimizer

github: fixes #7, fixes #10, fixes #21
This commit is contained in:
Glenn Strauss 2016-09-17 20:09:01 -04:00
parent 9665b29c99
commit ab61513f03

View File

@ -35,7 +35,7 @@ char SCCSid[] = "@(#) @(#)arith.c:3.3 -- 5/15/91 19:30:19";
int dumb_stuff(int); int dumb_stuff(int);
unsigned long iter; volatile unsigned long iter;
/* this function is called when the alarm expires */ /* this function is called when the alarm expires */
void report() void report()