projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use symbolic names instead of magic values for the position parameter of get_irn_n().
[libfirm]
/
ir
/
be
/
test
/
compress95.c
diff --git
a/ir/be/test/compress95.c
b/ir/be/test/compress95.c
index
cae9929
..
352db5e
100644
(file)
--- a/
ir/be/test/compress95.c
+++ b/
ir/be/test/compress95.c
@@
-76,6
+76,12
@@
char_type magic_header[] = { "\037\235" }; /* 1F 9D */
*
* $Header$
* $Log$
*
* $Header$
* $Log$
+ * Revision 1.2 2006/07/08 10:06:28 matze
+ * fixed some more testapps
+ *
+ * Revision 1.1 2006/03/17 14:47:52 chriswue
+ * added addtional test file
+ *
* Revision 1.3 90/07/18 20:22:34 mips
* a few small changes for VMS, all of the ifdef VAX is gone.
*
* Revision 1.3 90/07/18 20:22:34 mips
* a few small changes for VMS, all of the ifdef VAX is gone.
*
@@
-196,6
+202,7
@@
static char rcs_ident[] = "$Header$";
#include <stdio.h>
#include <ctype.h>
#include <stdio.h>
#include <ctype.h>
+#include <stdlib.h>
#ifdef VMS
#include <types.h>
#include <stat.h>
#ifdef VMS
#include <types.h>
#include <stat.h>
@@
-349,8
+356,7
@@
unsigned char *OutBuff;
spec_select_action(char* from_buf, int from_count, int action, char* to_buf)
{
spec_select_action(char* from_buf, int from_count, int action, char* to_buf)
{
- char *cp, *rindex(), *malloc();
- struct stat statbuf;
+ char *rindex();
#ifdef SYSV
void onintr(), oops();
#else
#ifdef SYSV
void onintr(), oops();
#else
@@
-1164,3
+1170,8
@@
int n;
for( i=0; i<n; i++ )
*OutBuff++ = buf[i];
}
for( i=0; i<n; i++ )
*OutBuff++ = buf[i];
}
+
+int main()
+{
+ return 0;
+}