| # | Line 4 | Line 4 | |
|---|---|---|
| 4 | */ | |
| 5 | #ifndef _RAD_RTMISC_H_ | |
| 6 | #define _RAD_RTMISC_H_ | |
| 7 | – | #ifdef __cplusplus |
| 8 | – | extern "C" { |
| 9 | – | #endif |
| 7 | ||
| 8 | #include <stdlib.h> | |
| 9 | /* memory operations */ | |
| # | Line 17 | Line 14 | extern "C" { | |
| 14 | #define copystruct(d,s) (*(d) = *(s)) | |
| 15 | #endif | |
| 16 | ||
| 17 | + | #ifdef __cplusplus |
| 18 | + | extern "C" { |
| 19 | + | #endif |
| 20 | + | |
| 21 | /* defined in bmalloc.c */ | |
| 22 | extern char *bmalloc(unsigned int n); | |
| 23 | extern void bfree(char *p, unsigned int n); | |
| 24 | + | /* defined in myhostname.c */ |
| 25 | + | extern char *myhostname(void); |
| 26 | ||
| 27 | #ifdef __cplusplus | |
| 28 | } | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |