Use symbolic names instead of magic values for the position parameter of get_irn_n().
[libfirm] / ir / be / test / compress95.c
index cae9929..352db5e 100644 (file)
@@ -76,6 +76,12 @@ char_type magic_header[] = { "\037\235" };   /* 1F 9D */
  *
  * $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.
  *
@@ -196,6 +202,7 @@ static char rcs_ident[] = "$Header$";
 
 #include <stdio.h>
 #include <ctype.h>
+#include <stdlib.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)
 {
-    char *cp, *rindex(), *malloc();
-    struct stat statbuf;
+    char *rindex();
 #ifdef SYSV
     void onintr(), oops();
 #else
@@ -1164,3 +1170,8 @@ int n;
        for( i=0; i<n; i++ )
                *OutBuff++ = buf[i];
 }
+
+int main()
+{
+    return 0;
+}