aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit16a6972bb60d3aded954945e8b8c8cf4e002b73c (patch)
treea72d27a3d5ea30b00fd559da6f9c9210b2d5a526
parentwg: chill modern gcc out (diff)
downloadwireguard-tools-16a6972bb60d3aded954945e8b8c8cf4e002b73c.tar.xz
wireguard-tools-16a6972bb60d3aded954945e8b8c8cf4e002b73c.zip
headers: cleanup notices
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--contrib/external-tests/go/main.go2
-rw-r--r--contrib/external-tests/rust/src/main.rs2
-rw-r--r--contrib/extract-keys/config.c2
-rw-r--r--contrib/extract-keys/extract-keys.c2
-rw-r--r--contrib/nat-hole-punching/nat-punch-client.c2
-rw-r--r--contrib/nat-hole-punching/nat-punch-server.c2
-rwxr-xr-xcontrib/ncat-client-server/client.sh3
-rwxr-xr-xcontrib/ncat-client-server/server.sh3
-rwxr-xr-xcontrib/synergy/synergy-client.sh3
-rwxr-xr-xcontrib/synergy/synergy-server.sh3
-rw-r--r--src/base64.h2
-rw-r--r--src/config.c2
-rw-r--r--src/config.h2
-rw-r--r--src/curve25519.c2
-rw-r--r--src/curve25519.h2
-rw-r--r--src/genkey.c2
-rw-r--r--src/ipc.c2
-rw-r--r--src/ipc.h2
-rw-r--r--src/pubkey.c2
-rw-r--r--src/set.c2
-rw-r--r--src/setconf.c2
-rw-r--r--src/show.c2
-rw-r--r--src/showconf.c2
-rw-r--r--src/subcommands.h2
-rw-r--r--src/terminal.c2
-rw-r--r--src/terminal.h2
-rw-r--r--src/wg.c2
27 files changed, 39 insertions, 19 deletions
diff --git a/contrib/external-tests/go/main.go b/contrib/external-tests/go/main.go
index c1aa293..b259212 100644
--- a/contrib/external-tests/go/main.go
+++ b/contrib/external-tests/go/main.go
@@ -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. */
package main
diff --git a/contrib/external-tests/rust/src/main.rs b/contrib/external-tests/rust/src/main.rs
index 73e19b3..c5a78fe 100644
--- a/contrib/external-tests/rust/src/main.rs
+++ b/contrib/external-tests/rust/src/main.rs
@@ -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. */
extern crate screech;
extern crate crypto;
extern crate time;
diff --git a/contrib/extract-keys/config.c b/contrib/extract-keys/config.c
index 7852dcf..4c0e9b4 100644
--- a/contrib/extract-keys/config.c
+++ b/contrib/extract-keys/config.c
@@ -1,3 +1,5 @@
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+
struct def {
const char *name;
long long value;
diff --git a/contrib/extract-keys/extract-keys.c b/contrib/extract-keys/extract-keys.c
index 5d7de32..335f962 100644
--- a/contrib/extract-keys/extract-keys.c
+++ b/contrib/extract-keys/extract-keys.c
@@ -1,3 +1,5 @@
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+
#include <endian.h>
#include <errno.h>
#include <fcntl.h>
diff --git a/contrib/nat-hole-punching/nat-punch-client.c b/contrib/nat-hole-punching/nat-punch-client.c
index a72b5f6..6d0b5f1 100644
--- a/contrib/nat-hole-punching/nat-punch-client.c
+++ b/contrib/nat-hole-punching/nat-punch-client.c
@@ -1,3 +1,5 @@
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+
/* Example only. Do not run in production. */
#include <stdio.h>
diff --git a/contrib/nat-hole-punching/nat-punch-server.c b/contrib/nat-hole-punching/nat-punch-server.c
index 198e0f8..425885e 100644
--- a/contrib/nat-hole-punching/nat-punch-server.c
+++ b/contrib/nat-hole-punching/nat-punch-server.c
@@ -1,3 +1,5 @@
+/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+
/* Example only. Do not run in production. */
#include <stdio.h>
diff --git a/contrib/ncat-client-server/client.sh b/contrib/ncat-client-server/client.sh
index ab9fe88..e59d9ce 100755
--- a/contrib/ncat-client-server/client.sh
+++ b/contrib/ncat-client-server/client.sh
@@ -1,4 +1,7 @@
#!/bin/bash
+
+# Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
+
set -e
[[ $UID == 0 ]] || { echo "You must be root to run this."; exit 1; }
umask 077
diff --git a/contrib/ncat-client-server/server.sh b/contrib/ncat-client-server/server.sh
index e37861f..2680afd 100755
--- a/contrib/ncat-client-server/server.sh
+++ b/contrib/ncat-client-server/server.sh
@@ -1,4 +1,7 @@
#!/bin/bash
+
+# Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
+
if [[ -z $NCAT_REMOTE_ADDR ]]; then
ip link del dev wg0 2>/dev/null
set -e
diff --git a/contrib/synergy/synergy-client.sh b/contrib/synergy/synergy-client.sh
index 56cfdb2..07b32d3 100755
--- a/contrib/synergy/synergy-client.sh
+++ b/contrib/synergy/synergy-client.sh
@@ -1,4 +1,7 @@
#!/bin/bash
+
+# Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
+
set -ex
if [[ $UID == 0 ]]; then
ip link del dev synergy || true
diff --git a/contrib/synergy/synergy-server.sh b/contrib/synergy/synergy-server.sh
index 6bef423..ac028ba 100755
--- a/contrib/synergy/synergy-server.sh
+++ b/contrib/synergy/synergy-server.sh
@@ -1,4 +1,7 @@
#!/bin/bash
+
+# Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
+
set -ex
if [[ $UID == 0 ]]; then
ip link del dev synergy || true
diff --git a/src/base64.h b/src/base64.h
index 5cc94e1..748b5d9 100644
--- a/src/base64.h
+++ b/src/base64.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 BASE64_H
#define BASE64_H
diff --git a/src/config.c b/src/config.c
index 860845e..52acc78 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 <arpa/inet.h>
diff --git a/src/config.h b/src/config.h
index 268e3f6..9338c72 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 CONFIG_H
#define CONFIG_H
diff --git a/src/curve25519.c b/src/curve25519.c
index 3d0b615..3c147c8 100644
--- a/src/curve25519.c
+++ b/src/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.
*
* Redistribution and use in source and binary forms of this file, with or
* without modification, are permitted provided that the following conditions
diff --git a/src/curve25519.h b/src/curve25519.h
index 0be59b7..45ae1ce 100644
--- a/src/curve25519.h
+++ b/src/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/genkey.c b/src/genkey.c
index af2765f..d029527 100644
--- a/src/genkey.c
+++ b/src/genkey.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 <errno.h>
#include <stdio.h>
diff --git a/src/ipc.c b/src/ipc.c
index 3b96e6a..c8ca431 100644
--- a/src/ipc.c
+++ b/src/ipc.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. */
#ifdef __linux__
#include <libmnl/libmnl.h>
diff --git a/src/ipc.h b/src/ipc.h
index 9cb9db2..9571ff9 100644
--- a/src/ipc.h
+++ b/src/ipc.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 IPC_H
#define IPC_H
diff --git a/src/pubkey.c b/src/pubkey.c
index 452c8fa..d61df03 100644
--- a/src/pubkey.c
+++ b/src/pubkey.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 <errno.h>
#include <resolv.h>
diff --git a/src/set.c b/src/set.c
index 65f3ff6..236504b 100644
--- a/src/set.c
+++ b/src/set.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 <stdio.h>
#include <stdlib.h>
diff --git a/src/setconf.c b/src/setconf.c
index a3105e1..4de6117 100644
--- a/src/setconf.c
+++ b/src/setconf.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 <stddef.h>
#include <stdio.h>
diff --git a/src/show.c b/src/show.c
index 05a8e3e..c734152 100644
--- a/src/show.c
+++ b/src/show.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 <arpa/inet.h>
#include <inttypes.h>
diff --git a/src/showconf.c b/src/showconf.c
index 75d78e0..f04caa1 100644
--- a/src/showconf.c
+++ b/src/showconf.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 <arpa/inet.h>
#include <netinet/in.h>
diff --git a/src/subcommands.h b/src/subcommands.h
index 8351f8f..5da0226 100644
--- a/src/subcommands.h
+++ b/src/subcommands.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 SUBCOMMANDS_H
#define SUBCOMMANDS_H
diff --git a/src/terminal.c b/src/terminal.c
index c6f3f7f..139cc71 100644
--- a/src/terminal.c
+++ b/src/terminal.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. */
#define _GNU_SOURCE
#include <ctype.h>
diff --git a/src/terminal.h b/src/terminal.h
index 825c057..ee03f8d 100644
--- a/src/terminal.h
+++ b/src/terminal.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 TERMINAL_H
#define TERMINAL_H
diff --git a/src/wg.c b/src/wg.c
index ee19387..616107e 100644
--- a/src/wg.c
+++ b/src/wg.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 <stddef.h>
#include <stdio.h>