summaryrefslogtreecommitdiff
path: root/benchmarks/libmicro/patches/patch-ah
blob: 31b038712eb00fc0823f253ba30b389463f9c12a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ah,v 1.1.1.1 2009/11/22 00:45:54 jym Exp $

--- siglongjmp.c.orig	2007-07-02 23:17:45.000000000 +0200
+++ siglongjmp.c
@@ -56,7 +56,7 @@ benchmark(void *tsd, result_t *res)
 {
 	tsd_t			*ts = (tsd_t *)tsd;
 
-	int i = 0;
+	volatile int i = 0;
 
 	(void) sigsetjmp(ts->ts_env, 1);