summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-11-18 06:22:00 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2016-11-21 01:00:07 +0100
commite6e1fd126c90749576473c235c69e89657f4d78f (patch)
tree12e90877d542dcd998b8d590a9b4a6f73c29d37d /src
parenta361c3b6fd1f9fe282e86b70f302610e985b3892 (diff)
headers: cleanup notices
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src')
-rw-r--r--src/compat.h2
-rw-r--r--src/config.c2
-rw-r--r--src/config.h2
-rw-r--r--src/cookie.c2
-rw-r--r--src/cookie.h2
-rw-r--r--src/crypto/blake2s.c2
-rw-r--r--src/crypto/blake2s.h2
-rw-r--r--src/crypto/chacha20poly1305.c2
-rw-r--r--src/crypto/chacha20poly1305.h2
-rw-r--r--src/crypto/curve25519.c2
-rw-r--r--src/crypto/curve25519.h2
-rw-r--r--src/crypto/siphash24.c2
-rw-r--r--src/crypto/siphash24.h2
-rw-r--r--src/data.c2
-rw-r--r--src/device.c2
-rw-r--r--src/device.h2
-rw-r--r--src/hashtables.c2
-rw-r--r--src/hashtables.h2
-rw-r--r--src/main.c4
-rw-r--r--src/messages.h2
-rw-r--r--src/noise.c2
-rw-r--r--src/noise.h2
-rw-r--r--src/packets.h2
-rw-r--r--src/peer.c2
-rw-r--r--src/peer.h2
-rw-r--r--src/ratelimiter.c2
-rw-r--r--src/ratelimiter.h2
-rw-r--r--src/receive.c2
-rw-r--r--src/routingtable.c2
-rw-r--r--src/routingtable.h2
-rw-r--r--src/send.c2
-rw-r--r--src/socket.c2
-rw-r--r--src/socket.h2
-rwxr-xr-xsrc/tests/netns.sh2
-rw-r--r--src/tests/qemu/init.c2
-rw-r--r--src/timers.c2
-rw-r--r--src/timers.h2
-rw-r--r--src/uapi.h2
38 files changed, 41 insertions, 37 deletions
diff --git a/src/compat.h b/src/compat.h
index 7577222..21487cb 100644
--- a/src/compat.h
+++ b/src/compat.h
@@ -1,4 +1,4 @@
-/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#ifndef COMPAT_H
#define COMPAT_H
diff --git a/src/config.c b/src/config.c
index 829c0aa..d9b70df 100644
--- a/src/config.c
+++ b/src/config.c
@@ -1,4 +1,4 @@
-/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#include "config.h"
#include "device.h"
diff --git a/src/config.h b/src/config.h
index 9678595..8c53887 100644
--- a/src/config.h
+++ b/src/config.h
@@ -1,4 +1,4 @@
-/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#ifndef WGCONFIG_H
#define WGCONFIG_H
diff --git a/src/cookie.c b/src/cookie.c
index 84f9d25..21f287f 100644
--- a/src/cookie.c
+++ b/src/cookie.c
@@ -1,4 +1,4 @@
-/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#include "cookie.h"
#include "peer.h"
diff --git a/src/cookie.h b/src/cookie.h
index 5e83bf0..8dc1317 100644
--- a/src/cookie.h
+++ b/src/cookie.h
@@ -1,4 +1,4 @@
-/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#ifndef WGCOOKIE_H
#define WGCOOKIE_H
diff --git a/src/crypto/blake2s.c b/src/crypto/blake2s.c
index 0118dab..b8a7535 100644
--- a/src/crypto/blake2s.c
+++ b/src/crypto/blake2s.c
@@ -1,6 +1,6 @@
/* Original author: Samuel Neves <sneves@dei.uc.pt>
*
- * Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
+ * Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
*/
#include "blake2s.h"
diff --git a/src/crypto/blake2s.h b/src/crypto/blake2s.h
index b48937f..ed7ea50 100644
--- a/src/crypto/blake2s.h
+++ b/src/crypto/blake2s.h
@@ -1,4 +1,4 @@
-/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#ifndef BLAKE2S_H
#define BLAKE2S_H
diff --git a/src/crypto/chacha20poly1305.c b/src/crypto/chacha20poly1305.c
index cc1af39..96e39bf 100644
--- a/src/crypto/chacha20poly1305.c
+++ b/src/crypto/chacha20poly1305.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
+ * Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
* Copyright 2015 Martin Willi.
*/
diff --git a/src/crypto/chacha20poly1305.h b/src/crypto/chacha20poly1305.h
index 49bd5f9..4ffcd1e 100644
--- a/src/crypto/chacha20poly1305.h
+++ b/src/crypto/chacha20poly1305.h
@@ -1,4 +1,4 @@
-/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#ifndef CHACHA20POLY1305_H
#define CHACHA20POLY1305_H
diff --git a/src/crypto/curve25519.c b/src/crypto/curve25519.c
index afc2e8a..41eeea8 100644
--- a/src/crypto/curve25519.c
+++ b/src/crypto/curve25519.c
@@ -1,7 +1,7 @@
/* Original author: Adam Langley <agl@imperialviolet.org>
*
* Copyright 2008 Google Inc. All Rights Reserved.
- * Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
+ * Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
*/
#include "curve25519.h"
diff --git a/src/crypto/curve25519.h b/src/crypto/curve25519.h
index f16fc30..361b858 100644
--- a/src/crypto/curve25519.h
+++ b/src/crypto/curve25519.h
@@ -1,4 +1,4 @@
-/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#ifndef CURVE25519_H
#define CURVE25519_H
diff --git a/src/crypto/siphash24.c b/src/crypto/siphash24.c
index 7395413..1d3865a 100644
--- a/src/crypto/siphash24.c
+++ b/src/crypto/siphash24.c
@@ -1,4 +1,4 @@
-/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#include "siphash24.h"
diff --git a/src/crypto/siphash24.h b/src/crypto/siphash24.h
index f06a87c..d3a221e 100644
--- a/src/crypto/siphash24.h
+++ b/src/crypto/siphash24.h
@@ -1,4 +1,4 @@
-/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#ifndef SIPHASH24_H
#define SIPHASH24_H
diff --git a/src/data.c b/src/data.c
index dd7f0cb..75b96a1 100644
--- a/src/data.c
+++ b/src/data.c
@@ -1,4 +1,4 @@
-/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#include "noise.h"
#include "device.h"
diff --git a/src/device.c b/src/device.c
index e72f783..634d3be 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1,4 +1,4 @@
-/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#include "packets.h"
#include "socket.h"
diff --git a/src/device.h b/src/device.h
index bcaa90f..e8e00a0 100644
--- a/src/device.h
+++ b/src/device.h
@@ -1,4 +1,4 @@
-/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#ifndef WGDEVICE_H
#define WGDEVICE_H
diff --git a/src/hashtables.c b/src/hashtables.c
index d2a9cf9..f0d8769 100644
--- a/src/hashtables.c
+++ b/src/hashtables.c
@@ -1,4 +1,4 @@
-/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#include "hashtables.h"
#include "peer.h"
diff --git a/src/hashtables.h b/src/hashtables.h
index ebbb59b..5a87a72 100644
--- a/src/hashtables.h
+++ b/src/hashtables.h
@@ -1,4 +1,4 @@
-/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#ifndef HASHTABLES_H
#define HASHTABLES_H
diff --git a/src/main.c b/src/main.c
index 77e8e6e..3102408 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,4 +1,4 @@
-/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#include "version.h"
#include "device.h"
@@ -45,7 +45,7 @@ static int __init mod_init(void)
}
pr_info("WireGuard " WIREGUARD_VERSION " loaded. See www.wireguard.io for information.\n");
- pr_info("(C) Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.\n");
+ pr_info("Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.\n");
return ret;
}
diff --git a/src/messages.h b/src/messages.h
index 7a4b14e..9b884b0 100644
--- a/src/messages.h
+++ b/src/messages.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
+ * Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
*
* See doc/protocol.md for more info
*/
diff --git a/src/noise.c b/src/noise.c
index a162054..1fce2e8 100644
--- a/src/noise.c
+++ b/src/noise.c
@@ -1,4 +1,4 @@
-/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#include "noise.h"
#include "device.h"
diff --git a/src/noise.h b/src/noise.h
index ca67dbd..f166cdc 100644
--- a/src/noise.h
+++ b/src/noise.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
+ * Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
*
* See doc/protocol.md and https://github.com/trevp/noise/blob/master/noise.md for more info
*/
diff --git a/src/packets.h b/src/packets.h
index 9d1d6df..fbb81df 100644
--- a/src/packets.h
+++ b/src/packets.h
@@ -1,4 +1,4 @@
-/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#ifndef PACKETS_H
#define PACKETS_H
diff --git a/src/peer.c b/src/peer.c
index f50a9e8..f185376 100644
--- a/src/peer.c
+++ b/src/peer.c
@@ -1,4 +1,4 @@
-/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#include "peer.h"
#include "device.h"
diff --git a/src/peer.h b/src/peer.h
index 07c4d16..17e166f 100644
--- a/src/peer.h
+++ b/src/peer.h
@@ -1,4 +1,4 @@
-/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#ifndef PEER_H
#define PEER_H
diff --git a/src/ratelimiter.c b/src/ratelimiter.c
index 1d51fc4..8bfe46b 100644
--- a/src/ratelimiter.c
+++ b/src/ratelimiter.c
@@ -1,4 +1,4 @@
-/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#include "ratelimiter.h"
#include "peer.h"
diff --git a/src/ratelimiter.h b/src/ratelimiter.h
index d9901a6..e23097d 100644
--- a/src/ratelimiter.h
+++ b/src/ratelimiter.h
@@ -1,4 +1,4 @@
-/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#ifndef RATELIMITER_H
#define RATELIMITER_H
diff --git a/src/receive.c b/src/receive.c
index 1f92faf..30cca2c 100644
--- a/src/receive.c
+++ b/src/receive.c
@@ -1,4 +1,4 @@
-/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#include "packets.h"
#include "device.h"
diff --git a/src/routingtable.c b/src/routingtable.c
index af71631..6f56cd6 100644
--- a/src/routingtable.c
+++ b/src/routingtable.c
@@ -1,4 +1,4 @@
-/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#include "routingtable.h"
#include "peer.h"
diff --git a/src/routingtable.h b/src/routingtable.h
index cee19d6..644f806 100644
--- a/src/routingtable.h
+++ b/src/routingtable.h
@@ -1,4 +1,4 @@
-/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#ifndef ROUTINGTABLE_H
#define ROUTINGTABLE_H
diff --git a/src/send.c b/src/send.c
index 24c104b..b2ae84b 100644
--- a/src/send.c
+++ b/src/send.c
@@ -1,4 +1,4 @@
-/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#include "packets.h"
#include "timers.h"
diff --git a/src/socket.c b/src/socket.c
index 970e0d6..0b97818 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -1,4 +1,4 @@
-/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#include "device.h"
#include "peer.h"
diff --git a/src/socket.h b/src/socket.h
index 71d0a79..5bc9a18 100644
--- a/src/socket.h
+++ b/src/socket.h
@@ -1,4 +1,4 @@
-/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#ifndef WGSOCKET_H
#define WGSOCKET_H
diff --git a/src/tests/netns.sh b/src/tests/netns.sh
index fceac98..1e2e0ee 100755
--- a/src/tests/netns.sh
+++ b/src/tests/netns.sh
@@ -1,5 +1,7 @@
#!/bin/bash
+# Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
+
# This script tests the below topology:
#
# ┌─────────────────────┐ ┌──────────────────────────────────┐ ┌─────────────────────┐
diff --git a/src/tests/qemu/init.c b/src/tests/qemu/init.c
index 488f504..62157c0 100644
--- a/src/tests/qemu/init.c
+++ b/src/tests/qemu/init.c
@@ -1,3 +1,5 @@
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+
#define _GNU_SOURCE
#include <unistd.h>
#include <errno.h>
diff --git a/src/timers.c b/src/timers.c
index f002a65..9daee0d 100644
--- a/src/timers.c
+++ b/src/timers.c
@@ -1,4 +1,4 @@
-/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#include "timers.h"
#include "device.h"
diff --git a/src/timers.h b/src/timers.h
index b6f80fd..41014ef 100644
--- a/src/timers.h
+++ b/src/timers.h
@@ -1,4 +1,4 @@
-/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#ifndef WGTIMERS_H
#define WGTIMERS_H
diff --git a/src/uapi.h b/src/uapi.h
index 69dfee3..b139d43 100644
--- a/src/uapi.h
+++ b/src/uapi.h
@@ -1,4 +1,4 @@
-/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
*
* Userspace API for WireGuard
* ---------------------------