[llvm-commits] CVS: llvm/test/Programs/MultiSource/Benchmarks/Olden/bh/util.c
Chris Lattner
lattner at cs.uiuc.edu
Wed Jun 2 16:41:02 PDT 2004
Changes in directory llvm/test/Programs/MultiSource/Benchmarks/Olden/bh:
util.c updated: 1.2 -> 1.3
---
Log message:
Silly benchmark, 'extern int errno' is not portable!
---
Diffs of the changes: (+1 -2)
Index: llvm/test/Programs/MultiSource/Benchmarks/Olden/bh/util.c
diff -u llvm/test/Programs/MultiSource/Benchmarks/Olden/bh/util.c:1.2 llvm/test/Programs/MultiSource/Benchmarks/Olden/bh/util.c:1.3
--- llvm/test/Programs/MultiSource/Benchmarks/Olden/bh/util.c:1.2 Mon Nov 26 11:04:02 2001
+++ llvm/test/Programs/MultiSource/Benchmarks/Olden/bh/util.c Wed Jun 2 16:32:32 2004
@@ -7,6 +7,7 @@
*/
#include "stdinc.h"
+#include <errno.h>
#define A 16807.0
#define M 2147483647.0
@@ -65,8 +66,6 @@
error(char *msg)
{
- extern int errno;
-
fprintf(stderr, msg);
if (errno != 0)
perror("Error");
More information about the llvm-commits
mailing list