fixed a bunch of headers after license change (#825)

This commit is contained in:
Yann Collet 2017-08-31 11:24:54 -07:00
parent 9023898f1e
commit e9dc204f42
29 changed files with 124 additions and 135 deletions

View File

@ -1,10 +1,10 @@
# ################################################################ # ################################################################
# Copyright (c) 2016-present, Yann Collet, Facebook, Inc. # Copyright (c) 2015-present, Yann Collet, Facebook, Inc.
# All rights reserved. # All rights reserved.
# #
# This source code is licensed under the BSD-style license found in the # This source code is licensed under both the BSD-style license (found in the
# LICENSE file in the root directory of this source tree. An additional grant # LICENSE file in the root directory of this source tree) and the GPLv2 (found
# of patent rights can be found in the PATENTS file in the same directory. # in the COPYING file in the root directory of this source tree).
# ################################################################ # ################################################################
PRGDIR = programs PRGDIR = programs

View File

@ -2,9 +2,9 @@
# Copyright (c) 2016-present, Yann Collet, Facebook, Inc. # Copyright (c) 2016-present, Yann Collet, Facebook, Inc.
# All rights reserved. # All rights reserved.
# #
# This source code is licensed under the BSD-style license found in the # This source code is licensed under both the BSD-style license (found in the
# LICENSE file in the root directory of this source tree. An additional grant # LICENSE file in the root directory of this source tree) and the GPLv2 (found
# of patent rights can be found in the PATENTS file in the same directory. # in the COPYING file in the root directory of this source tree).
# ################################################################ # ################################################################
PROJECT(zstd) PROJECT(zstd)

View File

@ -1,17 +1,13 @@
# ################################################################ # ################################################################
# * Copyright (c) 2015-present, Yann Collet, Facebook, Inc. # Copyright (c) 2016-present, Yann Collet, Facebook, Inc.
# * All rights reserved. # All rights reserved.
# *
# * This source code is licensed under the BSD-style license found in the
# * LICENSE file in the root directory of this source tree. An additional grant
# * of patent rights can be found in the PATENTS file in the same directory.
# #
# You can contact the author at : # This source code is licensed under both the BSD-style license (found in the
# - zstd homepage : http://www.zstd.net/ # LICENSE file in the root directory of this source tree) and the GPLv2 (found
# in the COPYING file in the root directory of this source tree).
# ################################################################ # ################################################################
PROJECT(contrib) PROJECT(contrib)
ADD_SUBDIRECTORY(pzstd) ADD_SUBDIRECTORY(pzstd)
ADD_SUBDIRECTORY(gen_html) ADD_SUBDIRECTORY(gen_html)

View File

@ -1,13 +1,10 @@
# ################################################################ # ################################################################
# * Copyright (c) 2015-present, Yann Collet, Facebook, Inc. # Copyright (c) 2015-present, Yann Collet, Facebook, Inc.
# * All rights reserved. # All rights reserved.
# *
# * This source code is licensed under the BSD-style license found in the
# * LICENSE file in the root directory of this source tree. An additional grant
# * of patent rights can be found in the PATENTS file in the same directory.
# #
# You can contact the author at : # This source code is licensed under both the BSD-style license (found in the
# - zstd homepage : http://www.zstd.net/ # LICENSE file in the root directory of this source tree) and the GPLv2 (found
# in the COPYING file in the root directory of this source tree).
# ################################################################ # ################################################################
PROJECT(gen_html) PROJECT(gen_html)

View File

@ -1,13 +1,10 @@
# ################################################################ # ################################################################
# * Copyright (c) 2015-present, Yann Collet, Facebook, Inc. # Copyright (c) 2016-present, Facebook, Inc.
# * All rights reserved. # All rights reserved.
# *
# * This source code is licensed under the BSD-style license found in the
# * LICENSE file in the root directory of this source tree. An additional grant
# * of patent rights can be found in the PATENTS file in the same directory.
# #
# You can contact the author at : # This source code is licensed under both the BSD-style license (found in the
# - zstd homepage : http://www.zstd.net/ # LICENSE file in the root directory of this source tree) and the GPLv2 (found
# in the COPYING file in the root directory of this source tree).
# ################################################################ # ################################################################
PROJECT(pzstd) PROJECT(pzstd)

View File

@ -1,11 +1,11 @@
# ########################################################################## # ################################################################
# Copyright (c) 2016-present, Facebook, Inc. # Copyright (c) 2016-present, Facebook, Inc.
# All rights reserved. # All rights reserved.
# #
# This source code is licensed under the BSD-style license found in the # This source code is licensed under both the BSD-style license (found in the
# LICENSE file in the root directory of this source tree. An additional grant # LICENSE file in the root directory of this source tree) and the GPLv2 (found
# of patent rights can be found in the PATENTS file in the same directory. # in the COPYING file in the root directory of this source tree).
# ########################################################################## # ################################################################
CFLAGS ?= -O3 CFLAGS ?= -O3
CFLAGS += -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wno-comment CFLAGS += -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wno-comment

View File

@ -1,10 +1,10 @@
# ################################################################ # ################################################################
# Copyright (c) 2016-present, Facebook, Inc. # Copyright (c) 2017-present, Facebook, Inc.
# All rights reserved. # All rights reserved.
# #
# This source code is licensed under the BSD-style license found in the # This source code is licensed under both the BSD-style license (found in the
# LICENSE file in the root directory of this source tree. An additional grant # LICENSE file in the root directory of this source tree) and the GPLv2 (found
# of patent rights can be found in the PATENTS file in the same directory. # in the COPYING file in the root directory of this source tree).
# ################################################################ # ################################################################
# This Makefile presumes libzstd is installed, using `sudo make install` # This Makefile presumes libzstd is installed, using `sudo make install`
@ -34,4 +34,3 @@ clean:
@rm -f core *.o tmp* result* *.ldm *.ldm.dec \ @rm -f core *.o tmp* result* *.ldm *.ldm.dec \
ldm ldm
@echo Cleaning completed @echo Cleaning completed

View File

@ -1,10 +1,10 @@
/** /*
* Copyright (c) 2016-present, Facebook, Inc. * Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved. * All rights reserved.
* *
* This source code is licensed under the BSD-style license found in the * This source code is licensed under both the BSD-style license (found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree) and the GPLv2 (found
* of patent rights can be found in the PATENTS file in the same directory. * in the COPYING file in the root directory of this source tree).
*/ */
#pragma once #pragma once

View File

@ -1,10 +1,10 @@
/** /*
* Copyright (c) 2016-present, Facebook, Inc. * Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved. * All rights reserved.
* *
* This source code is licensed under the BSD-style license found in the * This source code is licensed under both the BSD-style license (found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree) and the GPLv2 (found
* of patent rights can be found in the PATENTS file in the same directory. * in the COPYING file in the root directory of this source tree).
*/ */
#pragma once #pragma once

View File

@ -1,10 +1,10 @@
/** /*
* Copyright (c) 2016-present, Facebook, Inc. * Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved. * All rights reserved.
* *
* This source code is licensed under the BSD-style license found in the * This source code is licensed under both the BSD-style license (found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree) and the GPLv2 (found
* of patent rights can be found in the PATENTS file in the same directory. * in the COPYING file in the root directory of this source tree).
*/ */
#pragma once #pragma once

View File

@ -1,10 +1,10 @@
/** /*
* Copyright (c) 2016-present, Facebook, Inc. * Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved. * All rights reserved.
* *
* This source code is licensed under the BSD-style license found in the * This source code is licensed under both the BSD-style license (found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree) and the GPLv2 (found
* of patent rights can be found in the PATENTS file in the same directory. * in the COPYING file in the root directory of this source tree).
*/ */
#include "SkippableFrame.h" #include "SkippableFrame.h"
#include "mem.h" #include "mem.h"

View File

@ -1,10 +1,10 @@
/** /*
* Copyright (c) 2016-present, Facebook, Inc. * Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved. * All rights reserved.
* *
* This source code is licensed under the BSD-style license found in the * This source code is licensed under both the BSD-style license (found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree) and the GPLv2 (found
* of patent rights can be found in the PATENTS file in the same directory. * in the COPYING file in the root directory of this source tree).
*/ */
#pragma once #pragma once

View File

@ -1,10 +1,10 @@
/** /*
* Copyright (c) 2016-present, Facebook, Inc. * Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved. * All rights reserved.
* *
* This source code is licensed under the BSD-style license found in the * This source code is licensed under both the BSD-style license (found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree) and the GPLv2 (found
* of patent rights can be found in the PATENTS file in the same directory. * in the COPYING file in the root directory of this source tree).
*/ */
#include "ErrorHolder.h" #include "ErrorHolder.h"
#include "Options.h" #include "Options.h"

View File

@ -1,10 +1,10 @@
/** /*
* Copyright (c) 2016-present, Facebook, Inc. * Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved. * All rights reserved.
* *
* This source code is licensed under the BSD-style license found in the * This source code is licensed under both the BSD-style license (found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree) and the GPLv2 (found
* of patent rights can be found in the PATENTS file in the same directory. * in the COPYING file in the root directory of this source tree).
*/ */
#pragma once #pragma once

View File

@ -1,10 +1,10 @@
/** /*
* Copyright (c) 2016-present, Facebook, Inc. * Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved. * All rights reserved.
* *
* This source code is licensed under the BSD-style license found in the * This source code is licensed under both the BSD-style license (found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree) and the GPLv2 (found
* of patent rights can be found in the PATENTS file in the same directory. * in the COPYING file in the root directory of this source tree).
*/ */
/** /**

View File

@ -1,10 +1,10 @@
/** /*
* Copyright (c) 2016-present, Facebook, Inc. * Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved. * All rights reserved.
* *
* This source code is licensed under the BSD-style license found in the * This source code is licensed under both the BSD-style license (found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree) and the GPLv2 (found
* of patent rights can be found in the PATENTS file in the same directory. * in the COPYING file in the root directory of this source tree).
*/ */
#pragma once #pragma once

View File

@ -1,10 +1,10 @@
/** /*
* Copyright (c) 2016-present, Facebook, Inc. * Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved. * All rights reserved.
* *
* This source code is licensed under the BSD-style license found in the * This source code is licensed under both the BSD-style license (found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree) and the GPLv2 (found
* of patent rights can be found in the PATENTS file in the same directory. * in the COPYING file in the root directory of this source tree).
*/ */
#pragma once #pragma once

View File

@ -1,10 +1,10 @@
/** /*
* Copyright (c) 2016-present, Facebook, Inc. * Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved. * All rights reserved.
* *
* This source code is licensed under the BSD-style license found in the * This source code is licensed under both the BSD-style license (found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree) and the GPLv2 (found
* of patent rights can be found in the PATENTS file in the same directory. * in the COPYING file in the root directory of this source tree).
*/ */
#include "utils/Buffer.h" #include "utils/Buffer.h"
#include "utils/Range.h" #include "utils/Range.h"

View File

@ -1,10 +1,10 @@
/** /*
* Copyright (c) 2016-present, Facebook, Inc. * Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved. * All rights reserved.
* *
* This source code is licensed under the BSD-style license found in the * This source code is licensed under both the BSD-style license (found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree) and the GPLv2 (found
* of patent rights can be found in the PATENTS file in the same directory. * in the COPYING file in the root directory of this source tree).
*/ */
#include "utils/Range.h" #include "utils/Range.h"

View File

@ -1,10 +1,10 @@
/** /*
* Copyright (c) 2016-present, Facebook, Inc. * Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved. * All rights reserved.
* *
* This source code is licensed under the BSD-style license found in the * This source code is licensed under both the BSD-style license (found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree) and the GPLv2 (found
* of patent rights can be found in the PATENTS file in the same directory. * in the COPYING file in the root directory of this source tree).
*/ */
#include "utils/ResourcePool.h" #include "utils/ResourcePool.h"

View File

@ -1,10 +1,10 @@
/** /*
* Copyright (c) 2016-present, Facebook, Inc. * Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved. * All rights reserved.
* *
* This source code is licensed under the BSD-style license found in the * This source code is licensed under both the BSD-style license (found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree) and the GPLv2 (found
* of patent rights can be found in the PATENTS file in the same directory. * in the COPYING file in the root directory of this source tree).
*/ */
#include "utils/ScopeGuard.h" #include "utils/ScopeGuard.h"

View File

@ -1,10 +1,10 @@
/** /*
* Copyright (c) 2016-present, Facebook, Inc. * Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved. * All rights reserved.
* *
* This source code is licensed under the BSD-style license found in the * This source code is licensed under both the BSD-style license (found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree) and the GPLv2 (found
* of patent rights can be found in the PATENTS file in the same directory. * in the COPYING file in the root directory of this source tree).
*/ */
#include "utils/ThreadPool.h" #include "utils/ThreadPool.h"

View File

@ -2,9 +2,9 @@
# Copyright (c) 2017-present, Facebook, Inc. # Copyright (c) 2017-present, Facebook, Inc.
# All rights reserved. # All rights reserved.
# #
# This source code is licensed under the BSD-style license found in the # This source code is licensed under both the BSD-style license (found in the
# LICENSE file in the root directory of this source tree. An additional grant # LICENSE file in the root directory of this source tree) and the GPLv2 (found
# of patent rights can be found in the PATENTS file in the same directory. # in the COPYING file in the root directory of this source tree).
# ################################################################ # ################################################################
# This Makefile presumes libzstd is built, using `make` in / or /lib/ # This Makefile presumes libzstd is built, using `make` in / or /lib/

View File

@ -2,9 +2,9 @@
# Copyright (c) 2016-present, Yann Collet, Facebook, Inc. # Copyright (c) 2016-present, Yann Collet, Facebook, Inc.
# All rights reserved. # All rights reserved.
# #
# This source code is licensed under the BSD-style license found in the # This source code is licensed under both the BSD-style license (found in the
# LICENSE file in the root directory of this source tree. An additional grant # LICENSE file in the root directory of this source tree) and the GPLv2 (found
# of patent rights can be found in the PATENTS file in the same directory. # in the COPYING file in the root directory of this source tree).
# ################################################################ # ################################################################
# This Makefile presumes libzstd is installed, using `sudo make install` # This Makefile presumes libzstd is installed, using `sudo make install`

View File

@ -2,9 +2,9 @@
* Copyright (c) 2016 Tino Reichardt * Copyright (c) 2016 Tino Reichardt
* All rights reserved. * All rights reserved.
* *
* This source code is licensed under the BSD-style license found in the * This source code is licensed under both the BSD-style license (found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree) and the GPLv2 (found
* of patent rights can be found in the PATENTS file in the same directory. * in the COPYING file in the root directory of this source tree).
* *
* You can contact the author at: * You can contact the author at:
* - zstdmt source repository: https://github.com/mcmilk/zstdmt * - zstdmt source repository: https://github.com/mcmilk/zstdmt

View File

@ -1,11 +1,11 @@
# ########################################################################## # ################################################################
# Copyright (c) 2016-present, Yann Collet, Facebook, Inc. # Copyright (c) 2016-present, Yann Collet, Facebook, Inc.
# All rights reserved. # All rights reserved.
# #
# This source code is licensed under the BSD-style license found in the # This source code is licensed under both the BSD-style license (found in the
# LICENSE file in the root directory of this source tree. An additional grant # LICENSE file in the root directory of this source tree) and the GPLv2 (found
# of patent rights can be found in the PATENTS file in the same directory. # in the COPYING file in the root directory of this source tree).
# ########################################################################## # ################################################################
VOID := /dev/null VOID := /dev/null
ZSTDDIR := ../include ZSTDDIR := ../include

View File

@ -1,10 +1,10 @@
/** /*
* Copyright (c) 2016-present, Facebook, Inc. * Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved. * All rights reserved.
* *
* This source code is licensed under the BSD-style license found in the * This source code is licensed under both the BSD-style license (found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree) and the GPLv2 (found
* of patent rights can be found in the PATENTS file in the same directory. * in the COPYING file in the root directory of this source tree).
*/ */
/** /**

View File

@ -1,10 +1,10 @@
/** /*
* Copyright (c) 2016-present, Yann Collet, Facebook, Inc. * Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved. * All rights reserved.
* *
* This source code is licensed under the BSD-style license found in the * This source code is licensed under both the BSD-style license (found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree) and the GPLv2 (found
* of patent rights can be found in the PATENTS file in the same directory. * in the COPYING file in the root directory of this source tree).
*/ */
/** /**

View File

@ -1,10 +1,10 @@
# ################################################################ # ################################################################
# Copyright (c) 2017-present, Yann Collet, Facebook, Inc. # Copyright (c) 2017-present, Facebook, Inc.
# All rights reserved. # All rights reserved.
# #
# This source code is licensed under the BSD-style license found in the # This source code is licensed under both the BSD-style license (found in the
# LICENSE file in the root directory of this source tree. An additional grant # LICENSE file in the root directory of this source tree) and the GPLv2 (found
# of patent rights can be found in the PATENTS file in the same directory. # in the COPYING file in the root directory of this source tree).
# ################################################################ # ################################################################
PRGDIR = ../../programs PRGDIR = ../../programs