From 16a6972bb60d3aded954945e8b8c8cf4e002b73c Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 18 Nov 2016 06:22:00 +0100 Subject: [PATCH] headers: cleanup notices Signed-off-by: Jason A. Donenfeld --- contrib/external-tests/go/main.go | 2 +- contrib/external-tests/rust/src/main.rs | 2 +- contrib/extract-keys/config.c | 2 ++ contrib/extract-keys/extract-keys.c | 2 ++ contrib/nat-hole-punching/nat-punch-client.c | 2 ++ contrib/nat-hole-punching/nat-punch-server.c | 2 ++ contrib/ncat-client-server/client.sh | 3 +++ contrib/ncat-client-server/server.sh | 3 +++ contrib/synergy/synergy-client.sh | 3 +++ contrib/synergy/synergy-server.sh | 3 +++ src/base64.h | 2 +- src/config.c | 2 +- src/config.h | 2 +- src/curve25519.c | 2 +- src/curve25519.h | 2 +- src/genkey.c | 2 +- src/ipc.c | 2 +- src/ipc.h | 2 +- src/pubkey.c | 2 +- src/set.c | 2 +- src/setconf.c | 2 +- src/show.c | 2 +- src/showconf.c | 2 +- src/subcommands.h | 2 +- src/terminal.c | 2 +- src/terminal.h | 2 +- src/wg.c | 2 +- 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 . All Rights Reserved. */ +/* Copyright (C) 2015-2016 Jason A. Donenfeld . 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 . All Rights Reserved. */ +/* Copyright (C) 2015-2016 Jason A. Donenfeld . 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 . 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 . All Rights Reserved. */ + #include #include #include 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 . All Rights Reserved. */ + /* Example only. Do not run in production. */ #include 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 . All Rights Reserved. */ + /* Example only. Do not run in production. */ #include 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 . 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 . 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 . 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 . 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 . All Rights Reserved. */ +/* Copyright (C) 2015-2016 Jason A. Donenfeld . 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 . All Rights Reserved. */ +/* Copyright (C) 2015-2016 Jason A. Donenfeld . All Rights Reserved. */ #include 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 . All Rights Reserved. */ +/* Copyright (C) 2015-2016 Jason A. Donenfeld . 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 * * Copyright 2008 Google Inc. All Rights Reserved. - * Copyright 2015-2016 Jason A. Donenfeld . All Rights Reserved. + * Copyright (C) 2015-2016 Jason A. Donenfeld . 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 . All Rights Reserved. */ +/* Copyright (C) 2015-2016 Jason A. Donenfeld . 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 . All Rights Reserved. */ +/* Copyright (C) 2015-2016 Jason A. Donenfeld . All Rights Reserved. */ #include #include 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 . All Rights Reserved. */ +/* Copyright (C) 2015-2016 Jason A. Donenfeld . All Rights Reserved. */ #ifdef __linux__ #include 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 . All Rights Reserved. */ +/* Copyright (C) 2015-2016 Jason A. Donenfeld . 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 . All Rights Reserved. */ +/* Copyright (C) 2015-2016 Jason A. Donenfeld . All Rights Reserved. */ #include #include 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 . All Rights Reserved. */ +/* Copyright (C) 2015-2016 Jason A. Donenfeld . All Rights Reserved. */ #include #include 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 . All Rights Reserved. */ +/* Copyright (C) 2015-2016 Jason A. Donenfeld . All Rights Reserved. */ #include #include 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 . All Rights Reserved. */ +/* Copyright (C) 2015-2016 Jason A. Donenfeld . All Rights Reserved. */ #include #include 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 . All Rights Reserved. */ +/* Copyright (C) 2015-2016 Jason A. Donenfeld . All Rights Reserved. */ #include #include 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 . All Rights Reserved. */ +/* Copyright (C) 2015-2016 Jason A. Donenfeld . 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 . All Rights Reserved. */ +/* Copyright (C) 2015-2016 Jason A. Donenfeld . All Rights Reserved. */ #define _GNU_SOURCE #include 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 . All Rights Reserved. */ +/* Copyright (C) 2015-2016 Jason A. Donenfeld . 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 . All Rights Reserved. */ +/* Copyright (C) 2015-2016 Jason A. Donenfeld . All Rights Reserved. */ #include #include