OSDN Git Service

* scripts/check_performance: Only compile with $THREAD_FLAG
[pf3gnuchains/gcc-fork.git] / gcc / xcoffout.c
index ee6e3ad..324c5d5 100644 (file)
@@ -39,7 +39,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #ifdef XCOFF_DEBUGGING_INFO
 
 /* This defines the C_* storage classes.  */
-#include "dbxstclass.h"
+#include "xcoff.h"
 #include "xcoffout.h"
 #include "dbxout.h"
 #include "gstab.h"
@@ -400,7 +400,7 @@ xcoffout_declare_function (FILE *file, tree decl, const char *name)
       {
        if (name[i] == '[')
          {
-           char *n = (char *) alloca (i + 1);
+           char *n = alloca (i + 1);
            strncpy (n, name, i);
            n[i] = '\0';
            name = n;