summaryrefslogtreecommitdiff
path: root/src/rust/smartlist
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/smartlist
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/smartlist')
-rw-r--r--src/rust/smartlist/lib.rs3
-rw-r--r--src/rust/smartlist/smartlist.rs3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/rust/smartlist/lib.rs b/src/rust/smartlist/lib.rs
index 71d89a3b87..14a8148315 100644
--- a/src/rust/smartlist/lib.rs
+++ b/src/rust/smartlist/lib.rs
@@ -1,3 +1,6 @@
+// Copyright (c) 2016-2017, The Tor Project, Inc. */
+// See LICENSE for licensing information */
+
extern crate libc;
mod smartlist;
diff --git a/src/rust/smartlist/smartlist.rs b/src/rust/smartlist/smartlist.rs
index 9f5e14f1ad..ec5d7a57f5 100644
--- a/src/rust/smartlist/smartlist.rs
+++ b/src/rust/smartlist/smartlist.rs
@@ -1,3 +1,6 @@
+// Copyright (c) 2016-2017, The Tor Project, Inc. */
+// See LICENSE for licensing information */
+
use std::slice;
use libc::{c_char, c_int};
use std::ffi::CStr;