aboutsummaryrefslogtreecommitdiff
path: root/src/rust/tor_allocate
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-10-27 09:54:54 -0400
committerNick Mathewson <nickm@torproject.org>2017-10-27 10:02:08 -0400
commit2ca8fcb892d6e0452160ed9a19fe7cb4c3741b40 (patch)
tree276c1a4a6ec7e60e828ae310589172d300ea652a /src/rust/tor_allocate
parent6be75bd61d72636a1c23b6fd9866d33a35433a73 (diff)
downloadtor-2ca8fcb892d6e0452160ed9a19fe7cb4c3741b40.tar.gz
tor-2ca8fcb892d6e0452160ed9a19fe7cb4c3741b40.zip
Add missing copyright/license statements on all .rs files
(Yes, I have Chelsea's permission.)
Diffstat (limited to 'src/rust/tor_allocate')
-rw-r--r--src/rust/tor_allocate/lib.rs3
-rw-r--r--src/rust/tor_allocate/tor_allocate.rs3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/rust/tor_allocate/lib.rs b/src/rust/tor_allocate/lib.rs
index 81afd095f9..937a5dcf63 100644
--- a/src/rust/tor_allocate/lib.rs
+++ b/src/rust/tor_allocate/lib.rs
@@ -1,3 +1,6 @@
+// Copyright (c) 2016-2017, The Tor Project, Inc. */
+// See LICENSE for licensing information */
+
//! Allocation helper functions that allow data to be allocated in Rust
//! using tor's specified allocator. In doing so, this can be later freed
//! from C.
diff --git a/src/rust/tor_allocate/tor_allocate.rs b/src/rust/tor_allocate/tor_allocate.rs
index 663600ec5c..8a6fabe9cb 100644
--- a/src/rust/tor_allocate/tor_allocate.rs
+++ b/src/rust/tor_allocate/tor_allocate.rs
@@ -1,3 +1,6 @@
+// Copyright (c) 2016-2017, The Tor Project, Inc. */
+// See LICENSE for licensing information */
+
use libc::{c_char, c_void};
use std::{ptr, slice, mem};