# | Line 2 | Line 2 | |
---|---|---|
2 | /* | |
3 | * otypes.h - defines for object types. | |
4 | */ | |
5 | + | #ifndef _RAD_OTYPES_H_ |
6 | + | #define _RAD_OTYPES_H_ |
7 | + | #ifdef __cplusplus |
8 | + | extern "C" { |
9 | + | #endif |
10 | ||
6 | – | #include "copyright.h" |
7 | – | |
11 | typedef struct { | |
12 | char *funame; /* function name */ | |
13 | int flags; /* type flags */ | |
# | Line 154 | Line 157 | extern int o_default(); | |
157 | { "prism1", T_M|T_F|T_LV, o_default }, \ | |
158 | { "prism2", T_M|T_F|T_LV, o_default }, \ | |
159 | } | |
160 | + | |
161 | + | |
162 | + | #ifdef __cplusplus |
163 | + | } |
164 | + | #endif |
165 | + | #endif /* _RAD_OTYPES_H_ */ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |