headers: cleanup notices

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld 2016-11-18 06:22:00 +01:00
parent 3338bb11e8
commit 16a6972bb6
27 changed files with 39 additions and 19 deletions

View file

@ -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 package main

View file

@ -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 screech;
extern crate crypto; extern crate crypto;
extern crate time; extern crate time;

View file

@ -1,3 +1,5 @@
/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
struct def { struct def {
const char *name; const char *name;
long long value; long long value;

View file

@ -1,3 +1,5 @@
/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#include <endian.h> #include <endian.h>
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>

View file

@ -1,3 +1,5 @@
/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
/* Example only. Do not run in production. */ /* Example only. Do not run in production. */
#include <stdio.h> #include <stdio.h>

View file

@ -1,3 +1,5 @@
/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
/* Example only. Do not run in production. */ /* Example only. Do not run in production. */
#include <stdio.h> #include <stdio.h>

View file

@ -1,4 +1,7 @@
#!/bin/bash #!/bin/bash
# Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
set -e set -e
[[ $UID == 0 ]] || { echo "You must be root to run this."; exit 1; } [[ $UID == 0 ]] || { echo "You must be root to run this."; exit 1; }
umask 077 umask 077

View file

@ -1,4 +1,7 @@
#!/bin/bash #!/bin/bash
# Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
if [[ -z $NCAT_REMOTE_ADDR ]]; then if [[ -z $NCAT_REMOTE_ADDR ]]; then
ip link del dev wg0 2>/dev/null ip link del dev wg0 2>/dev/null
set -e set -e

View file

@ -1,4 +1,7 @@
#!/bin/bash #!/bin/bash
# Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
set -ex set -ex
if [[ $UID == 0 ]]; then if [[ $UID == 0 ]]; then
ip link del dev synergy || true ip link del dev synergy || true

View file

@ -1,4 +1,7 @@
#!/bin/bash #!/bin/bash
# Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
set -ex set -ex
if [[ $UID == 0 ]]; then if [[ $UID == 0 ]]; then
ip link del dev synergy || true ip link del dev synergy || true

View file

@ -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 #ifndef BASE64_H
#define BASE64_H #define BASE64_H

View file

@ -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 <arpa/inet.h>

View file

@ -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 #ifndef CONFIG_H
#define CONFIG_H #define CONFIG_H

View file

@ -1,7 +1,7 @@
/* Original author: Adam Langley <agl@imperialviolet.org> /* Original author: Adam Langley <agl@imperialviolet.org>
* *
* Copyright 2008 Google Inc. All Rights Reserved. * 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 * Redistribution and use in source and binary forms of this file, with or
* without modification, are permitted provided that the following conditions * without modification, are permitted provided that the following conditions

View file

@ -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 #ifndef CURVE25519_H
#define CURVE25519_H #define CURVE25519_H

View file

@ -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 <errno.h>
#include <stdio.h> #include <stdio.h>

View file

@ -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__ #ifdef __linux__
#include <libmnl/libmnl.h> #include <libmnl/libmnl.h>

View file

@ -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 #ifndef IPC_H
#define IPC_H #define IPC_H

View file

@ -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 <errno.h>
#include <resolv.h> #include <resolv.h>

View file

@ -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 <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View file

@ -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 <stddef.h>
#include <stdio.h> #include <stdio.h>

View file

@ -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 <arpa/inet.h>
#include <inttypes.h> #include <inttypes.h>

View file

@ -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 <arpa/inet.h>
#include <netinet/in.h> #include <netinet/in.h>

View file

@ -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 #ifndef SUBCOMMANDS_H
#define SUBCOMMANDS_H #define SUBCOMMANDS_H

View file

@ -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 #define _GNU_SOURCE
#include <ctype.h> #include <ctype.h>

View file

@ -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 #ifndef TERMINAL_H
#define TERMINAL_H #define TERMINAL_H

View file

@ -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 <stddef.h>
#include <stdio.h> #include <stdio.h>