author | Alberto Bertogli
<albertito@blitiri.com.ar> 2009-06-13 16:41:09 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2009-06-13 16:41:09 UTC |
parent | c7e0b631c5c82a1b7ab3c25c92fe18ff7f0b52bb |
preload/codegen.h | +1 | -2 |
preload/modules/posix.custom.c | +0 | -1 |
diff --git a/preload/codegen.h b/preload/codegen.h index 44923e7..245a432 100644 --- a/preload/codegen.h +++ b/preload/codegen.h @@ -62,7 +62,6 @@ extern int __thread _fiu_called; { \ RTYPE r; \ int fstatus; \ - void *finfo; \ \ /* cast it just to be sure */ \ if (_fiu_orig_##NAME == NULL) \ @@ -106,7 +105,7 @@ extern int __thread _fiu_called; \ fstatus = fiu_fail(FIU_NAME); \ if (fstatus != 0) { \ - finfo = fiu_failinfo(); \ + void *finfo = fiu_failinfo(); \ if (finfo == NULL) { \ errno = valid_errnos[random() % NVERRNOS]; \ } else { \ diff --git a/preload/modules/posix.custom.c b/preload/modules/posix.custom.c index 30cb17e..43ae6ea 100644 --- a/preload/modules/posix.custom.c +++ b/preload/modules/posix.custom.c @@ -21,7 +21,6 @@ int open(const char *pathname, int flags, ...) { int r; int fstatus; - void *finfo; /* Differences from the generated code begin here */