rt: Remove unused parts of rust_globals.h

This commit is contained in:
Brian Anderson 2013-08-09 23:09:36 -07:00
parent 1b6292aaea
commit 085dc55e13

View File

@ -81,15 +81,12 @@ extern "C" {
#define CDECL __cdecl
#endif
#ifndef FASTCALL
#define FASTCALL __fastcall
#endif
#else
#define CDECL __attribute__((cdecl))
#define FASTCALL __attribute__((fastcall))
#endif
#else
#define CDECL
#define FASTCALL
#endif
#define CHECKED(call) \
@ -104,22 +101,4 @@ extern "C" {
} \
}
#define MUST_CHECK __attribute__((warn_unused_result))
#define PTR "0x%" PRIxPTR
// This accounts for logging buffers.
static size_t const BUF_BYTES = 2048;
#define INIT_TASK_ID 1
// The error status to use when the process fails
#define PROC_FAIL_CODE 101
// A cond(ition) is something we can block on. This can be a channel
// (writing), a port (reading) or a task (waiting).
struct rust_cond { };
extern void* global_crate_map;
#endif /* RUST_GLOBALS_H */