opnsense-ports/benchmarks/libmicro/files/patch-longjmp.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
225 B
C

--- 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);