aboutsummaryrefslogtreecommitdiff
path: root/src/rust/protover
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/protover
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/protover')
-rw-r--r--src/rust/protover/ffi.rs3
-rw-r--r--src/rust/protover/protover.rs3
-rw-r--r--src/rust/protover/tests/protover.rs3
3 files changed, 9 insertions, 0 deletions
diff --git a/src/rust/protover/ffi.rs b/src/rust/protover/ffi.rs
index f897c98083..cf2e9fd783 100644
--- a/src/rust/protover/ffi.rs
+++ b/src/rust/protover/ffi.rs
@@ -1,3 +1,6 @@
+// Copyright (c) 2016-2017, The Tor Project, Inc. */
+// See LICENSE for licensing information */
+
//! FFI functions, only to be called from C.
//!
//! Equivalent C versions of this api are in `src/or/protover.c`
diff --git a/src/rust/protover/protover.rs b/src/rust/protover/protover.rs
index d75da61aa8..11e9d0079e 100644
--- a/src/rust/protover/protover.rs
+++ b/src/rust/protover/protover.rs
@@ -1,3 +1,6 @@
+// Copyright (c) 2016-2017, The Tor Project, Inc. */
+// See LICENSE for licensing information */
+
use external::c_tor_version_as_new_as;
use std::str::FromStr;
diff --git a/src/rust/protover/tests/protover.rs b/src/rust/protover/tests/protover.rs
index af7633a484..f4e394b3e2 100644
--- a/src/rust/protover/tests/protover.rs
+++ b/src/rust/protover/tests/protover.rs
@@ -1,3 +1,6 @@
+// Copyright (c) 2016-2017, The Tor Project, Inc. */
+// See LICENSE for licensing information */
+
extern crate protover;
#[test]