kinds to be added to datastructures
[libfirm] / ir / common / xoprintf.c
index bc096a7..cefd424 100644 (file)
@@ -1,6 +1,8 @@
 /* Xfprintf --- extended formatted output to obstacks.
    Copyright (C) 1995, 1996 Christian von Roques */
 
+/* $Id$ */
+
 #ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
@@ -12,6 +14,8 @@
 #include <assert.h>
 #include "xprintf.h"
 
+/* bcopy is not ISO C */
+#define bcopy(X, Y, Z) memcpy((Y), (X), (Z))
 
 static int
 xoprinter (void *obst, const char *data, size_t len)
@@ -33,7 +37,6 @@ xoprintf (struct obstack *obst, const char *fmt, ...)
   return res;
 }
 
-
 int
 xvoprintf (struct obstack *obst, const char *fmt, va_list args)
 {