diff options
| author | bors <bors@rust-lang.org> | 2014-09-04 13:01:00 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-09-04 13:01:00 +0000 |
| commit | 8d5e64f3bc2f754bed4b5a1857dd3494c5049c50 (patch) | |
| tree | 1ed18dcf18f24bf1787596a0022078f8c977998e /src/libtime | |
| parent | 6d8b5c9f7d1347b715242a837fba87a01ae61d7e (diff) | |
| parent | f422de1e85e87db51bfb61655da3faa331fbd91a (diff) | |
| download | rust-8d5e64f3bc2f754bed4b5a1857dd3494c5049c50.tar.gz rust-8d5e64f3bc2f754bed4b5a1857dd3494c5049c50.zip | |
auto merge of #16981 : kmcallister/rust/ctypes-warning, r=alexcrichton
Diffstat (limited to 'src/libtime')
| -rw-r--r-- | src/libtime/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libtime/lib.rs b/src/libtime/lib.rs index 848cd5e17b1..4a63aaf850a 100644 --- a/src/libtime/lib.rs +++ b/src/libtime/lib.rs @@ -232,6 +232,8 @@ pub fn tzset() { /// Holds a calendar date and time broken down into its components (year, month, day, and so on), /// also called a broken-down time value. +// FIXME: use c_int instead of i32? +#[repr(C)] #[deriving(Clone, PartialEq, Eq, Show)] pub struct Tm { /// Seconds after the minute - [0, 60] |
