summaryrefslogtreecommitdiff
path: root/benchmarks/libmicro/files/patch-longjmp.c
blob: 1c190b574c94e46f2919a3f50fb588ad45461236 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- longjmp.c.orig	Wed Aug 31 11:53:48 2005
+++ longjmp.c	Wed Aug 31 11:55:10 2005
@@ -55,7 +55,7 @@
 int
 benchmark(void *tsd, result_t *res)
 {
-	int			i = 0;
+	volatile int		i = 0;
 	jmp_buf			env;
 
 	(void) setjmp(env);