[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/Prolangs-C/dixie/send.c
Chris Lattner
lattner at cs.uiuc.edu
Fri Oct 29 21:09:28 PDT 2004
Changes in directory llvm-test/MultiSource/Benchmarks/Prolangs-C/dixie:
send.c updated: 1.1 -> 1.2
---
Log message:
Make this more portable
---
Diffs of the changes: (+3 -2)
Index: llvm-test/MultiSource/Benchmarks/Prolangs-C/dixie/send.c
diff -u llvm-test/MultiSource/Benchmarks/Prolangs-C/dixie/send.c:1.1 llvm-test/MultiSource/Benchmarks/Prolangs-C/dixie/send.c:1.2
--- llvm-test/MultiSource/Benchmarks/Prolangs-C/dixie/send.c:1.1 Tue Oct 5 14:29:51 2004
+++ llvm-test/MultiSource/Benchmarks/Prolangs-C/dixie/send.c Fri Oct 29 23:09:16 2004
@@ -59,8 +59,9 @@
#define DXI_SETSIZELIMIT(x, y) { (void) memcpy( &y[DXI_H_SIZELIMIT], \
(char *) &x, sizeof(short));}
-extern void *memset(void *s, int c, size_t n);
-extern int errno, dxi_debug, dxi_timeout, dxi_retries;
+#include <string.h>
+#include <errno.h>
+extern int dxi_debug, dxi_timeout, dxi_retries;
extern char dxi_options;
#ifndef INADDR_LOOPBACK
More information about the llvm-commits
mailing list