[llvm-commits] CVS: llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl/doio.c
LLVM
llvm at cs.uiuc.edu
Sat Jul 17 14:26:10 PDT 2004
Changes in directory llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl:
doio.c updated: 1.2 -> 1.3
---
Log message:
get rid of incorrect declaration of shmat(). If it isn't in sys/shm.h then
"oh well.."
---
Diffs of the changes: (+6 -5)
Index: llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl/doio.c
diff -u llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl/doio.c:1.2 llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl/doio.c:1.3
--- llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl/doio.c:1.2 Fri Jun 25 03:07:12 2004
+++ llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl/doio.c Sat Jul 17 16:26:00 2004
@@ -1,4 +1,4 @@
-/* $RCSfile: doio.c,v $$Revision: 1.2 $$Date: 2004/06/25 08:07:12 $
+/* $RCSfile: doio.c,v $$Revision: 1.3 $$Date: 2004/07/17 21:26:00 $
*
* Copyright (c) 1989, Larry Wall
*
@@ -6,6 +6,10 @@
* as specified in the README file that comes with the perl 3.0 kit.
*
* $Log: doio.c,v $
+ * Revision 1.3 2004/07/17 21:26:00 reid
+ * get rid of incorrect declaration of shmat(). If it isn't in sys/shm.h then
+ * "oh well.."
+ *
* Revision 1.2 2004/06/25 08:07:12 lattner
* fix the test on FreeBSD, contributed by Vladimir Merzliakov
*
@@ -2680,7 +2684,7 @@
#endif
}
-int
+int
do_shmio(optype, arglast)
int optype;
int *arglast;
@@ -2692,9 +2696,6 @@
char *mbuf, *shm;
int id, mpos, msize;
struct shmid_ds shmds;
-#if !defined(__FreeBSD__)
- extern char *shmat();
-#endif
id = (int)str_gnum(st[++sp]);
mstr = st[++sp];
More information about the llvm-commits
mailing list