Use simple assignment instead of memcpy().
[libfirm] / ir / adt / pdeq.c
index 282af54..fd73298 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
  *
  * This file is part of libFirm.
  *
@@ -24,9 +24,7 @@
  * @date        1999 by getting from fiasco
  * @version     $Id$
  */
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
+#include "config.h"
 
 #ifdef HAVE_STDIO_H
 # include <stdio.h>
@@ -95,7 +93,7 @@ static unsigned pdeqs_cached;
  *
  * @param p   The pdeq chunk.
  */
-static INLINE void free_pdeq_block (pdeq *p)
+static inline void free_pdeq_block (pdeq *p)
 {
 #ifndef NDEBUG
   p->magic = 0xbadf00d1;
@@ -112,7 +110,7 @@ static INLINE void free_pdeq_block (pdeq *p)
  *
  * @return A new pdeq chunk.
  */
-static INLINE pdeq *alloc_pdeq_block (void)
+static inline pdeq *alloc_pdeq_block (void)
 {
   pdeq *p;
   if (TUNE_NSAVED_PDEQS && pdeqs_cached) {