get_kind() did not assert anymore, instead returns k_BAD.
[libfirm] / ir / adt / set.c
index 2db9ffa..edd678f 100644 (file)
@@ -1,5 +1,14 @@
-/* Set --- collection of entries that are unique wrt to a key.
-   Copyright (C) 1995, 1996 Markus Armbruster */
+/*
+ * Project:     libFIRM
+ * File name:   ir/adt/set.c
+ * Purpose:     Set --- collection of entries that are unique wrt to a key.
+ * Author:      Markus Armbruster
+ * Modified by:
+ * Created:     1999 by getting from fiasco
+ * CVS-ID:      $Id$
+ * Copyright:   (c) 1995, 1996 Markus Armbruster
+ * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
+ */
 
 /*  This code is derived from:
 
 # include <config.h>
 #endif
 
+#ifndef INLINE
 #ifdef USE_GCC_INLINE
 #define INLINE inline
 #else
 #define INLINE
 #endif
+#endif
 
 /* bcopy is not ISO C *
 #define bcopy(X, Y, Z) memcpy((Y), (X), (Z))
 #include <stdio.h>
 #include <string.h>
 #include "misc.h"
+#include "xmalloc.h"
 #ifdef PSET
 # include "pset.h"
 #else
 # include "set.h"
 #endif
 
+
 #define TOBSTACK_ID MANGLEP(tag)
 #include "obst.h"