Avoiding more warnings.
[libfirm] / ir / common / common.h
1 /* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
2 ** All rights reserved.
3 **
4 ** Authors: Martin Trapp, Christian Schaefer &
5 **          Goetz Lindenmaier
6 **
7 ** common.h: common firm declarations
8 */
9
10 /* $Id$ */
11
12 # ifndef _COMMON_H_
13 # define _COMMON_H_
14
15 #define INLINE inline
16
17 /* a list of firm kinds */
18 typedef enum {
19   k_entity,
20   k_type,
21   k_ir_node
22 } firm_kind;
23
24 /* returns the kind of the thing */
25 firm_kind get_kind(void *firm_thing);
26
27 /* returns a string. */
28 const char* print_firm_kind(void *firm_thing);
29
30 # endif /*_COMMON_H_ */