[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/Prolangs-C/cdecl/cdecl.c
Brian Gaeke
gaeke at cs.uiuc.edu
Thu Dec 9 16:18:40 PST 2004
Changes in directory llvm-test/MultiSource/Benchmarks/Prolangs-C/cdecl:
cdecl.c updated: 1.1 -> 1.2
---
Log message:
Hacks to make more Prolangs-C benchmarks work under Solaris:
* Include -lsocket -lnsl for socket-using programs
* Don't include (prototypes for) getopt that conflict(s) with system's
(prototype)
---
Diffs of the changes: (+2 -0)
Index: llvm-test/MultiSource/Benchmarks/Prolangs-C/cdecl/cdecl.c
diff -u llvm-test/MultiSource/Benchmarks/Prolangs-C/cdecl/cdecl.c:1.1 llvm-test/MultiSource/Benchmarks/Prolangs-C/cdecl/cdecl.c:1.2
--- llvm-test/MultiSource/Benchmarks/Prolangs-C/cdecl/cdecl.c:1.1 Tue Oct 5 14:08:26 2004
+++ llvm-test/MultiSource/Benchmarks/Prolangs-C/cdecl/cdecl.c Thu Dec 9 18:18:23 2004
@@ -99,7 +99,9 @@
#if __STDC__
char *ds(char *), *cat(char *, ...), *visible(int);
+#ifndef __sun__
int getopt(int,char **,char *);
+#endif
int main(int, char **);
int yywrap_nasko(void);
int dostdin(void);
More information about the llvm-commits
mailing list