Use symbolic names instead of magic values for the position parameter of get_irn_n().
[libfirm] / ir / be / test / compress95.c
index 510042b..352db5e 100644 (file)
@@ -76,6 +76,9 @@ 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
  *
@@ -199,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>
@@ -352,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