about summary refs log tree commit diff
path: root/src/rt/sync
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2012-12-03 16:48:01 -0800
committerGraydon Hoare <graydon@mozilla.com>2012-12-03 17:12:14 -0800
commit00c856c0b1feac74df8b404fad94d74a0cf1624a (patch)
tree6fed03be32898c9b0c22f8e409d03533957cf75b /src/rt/sync
parent7eda4a567d30ecadc3f6bfa17e2911594ad6b1fa (diff)
Update license, add license boilerplate to most files. Remainder will follow.
Diffstat (limited to 'src/rt/sync')
-rw-r--r--src/rt/sync/sync.h10
-rw-r--r--src/rt/sync/timer.cpp10
-rw-r--r--src/rt/sync/timer.h10
3 files changed, 30 insertions, 0 deletions
diff --git a/src/rt/sync/sync.h b/src/rt/sync/sync.h
index 66682f11e9c..13d11a55021 100644
--- a/src/rt/sync/sync.h
+++ b/src/rt/sync/sync.h
@@ -1,4 +1,14 @@
 // -*- c++ -*-
+// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
+// http://rust-lang.org/COPYRIGHT.
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
 #ifndef SYNC_H
 #define SYNC_H
 
diff --git a/src/rt/sync/timer.cpp b/src/rt/sync/timer.cpp
index 0204517d512..99e5b107dc9 100644
--- a/src/rt/sync/timer.cpp
+++ b/src/rt/sync/timer.cpp
@@ -1,3 +1,13 @@
+// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
+// http://rust-lang.org/COPYRIGHT.
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
 #include "../rust_globals.h"
 #include "timer.h"
 
diff --git a/src/rt/sync/timer.h b/src/rt/sync/timer.h
index ac06b3445c3..59d05878b50 100644
--- a/src/rt/sync/timer.h
+++ b/src/rt/sync/timer.h
@@ -1,3 +1,13 @@
+// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
+// http://rust-lang.org/COPYRIGHT.
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
 /*
  *  Utility class to measure time in a platform independent way.
  */