From 085dc55e135f3195ba5ed6679151193f374aa8b2 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 9 Aug 2013 23:09:36 -0700 Subject: [PATCH] rt: Remove unused parts of rust_globals.h --- src/rt/rust_globals.h | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/src/rt/rust_globals.h b/src/rt/rust_globals.h index 5a75ab5ea1b0..9dc790b43f25 100644 --- a/src/rt/rust_globals.h +++ b/src/rt/rust_globals.h @@ -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 */