From ae2fb89d829061ad1c355b2511633f31c52f22c7 Mon Sep 17 00:00:00 2001 From: "Valeriano A.R" Date: Thu, 30 Dec 2021 16:56:23 +0100 Subject: [PATCH] Update copyright --- LICENSE.txt | 2 +- Makefile | 3 ++- README.md | 4 ++-- src/actionfilenode.c | 3 +++ src/actionfilenode.h | 3 +++ src/actionfilenodecopy.c | 3 +++ src/actionfilenodecopy.h | 3 +++ src/actionfilenodesync.c | 3 +++ src/actionfilenodesync.h | 3 +++ src/crc.c | 5 ++++- src/crc.h | 5 ++++- src/filenode.c | 5 ++++- src/filenode.h | 5 ++++- src/fileutil.c | 4 +++- src/fileutil.h | 5 ++++- src/main.c | 3 +++ src/parameteroperation.c | 3 +++ src/parameteroperation.h | 3 +++ src/util.c | 5 ++++- src/util.h | 5 ++++- 20 files changed, 63 insertions(+), 12 deletions(-) diff --git a/LICENSE.txt b/LICENSE.txt index a296aa1..713a0f3 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2015 Valeriano Alfonso Rodriguez +Copyright (c) 2014-2021 Valeriano Alfonso Rodriguez Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Makefile b/Makefile index 6b4979a..e28af65 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ - +# SPDX-License-Identifier: MIT +# Copyright (c) 2014-2021 Valeriano Alfonso Rodriguez IsMinGW := $(findstring MSYS,$(shell uname -s))$(findstring MINGW,$(shell uname -s)) ifneq (,$(IsMinGW)) diff --git a/README.md b/README.md index e6ae5b8..6fa0471 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ Parameters: There is a GNU Make compatible Makefile usable on Linux and MingGW. make - + ## Contributing 1. Fork it! 2. Create your feature branch: `git checkout -b my-new-feature` @@ -51,7 +51,7 @@ There is a GNU Make compatible Makefile usable on Linux and MingGW. The MIT License (MIT) - Copyright (c) 2014-2015 Valeriano Alfonso Rodriguez + Copyright (c) 2014-2021 Valeriano Alfonso Rodriguez Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/actionfilenode.c b/src/actionfilenode.c index d24af48..41a8060 100644 --- a/src/actionfilenode.c +++ b/src/actionfilenode.c @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: MIT +// Copyright (c) 2014-2021 Valeriano Alfonso Rodriguez + #include #include #include diff --git a/src/actionfilenode.h b/src/actionfilenode.h index 9baa8ba..4b57d13 100644 --- a/src/actionfilenode.h +++ b/src/actionfilenode.h @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: MIT +// Copyright (c) 2014-2021 Valeriano Alfonso Rodriguez + #ifndef _ACTIONFILENODE_H_ #define _ACTIONFILENODE_H_ diff --git a/src/actionfilenodecopy.c b/src/actionfilenodecopy.c index b9197d8..92df7d4 100644 --- a/src/actionfilenodecopy.c +++ b/src/actionfilenodecopy.c @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: MIT +// Copyright (c) 2014-2021 Valeriano Alfonso Rodriguez + #include #include #include diff --git a/src/actionfilenodecopy.h b/src/actionfilenodecopy.h index 3fe328d..611ff0f 100644 --- a/src/actionfilenodecopy.h +++ b/src/actionfilenodecopy.h @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: MIT +// Copyright (c) 2014-2021 Valeriano Alfonso Rodriguez + #ifndef _ACTIONFILENODECOPY_H_ #define _ACTIONFILENODECOPY_H_ diff --git a/src/actionfilenodesync.c b/src/actionfilenodesync.c index d82bea3..c39748a 100644 --- a/src/actionfilenodesync.c +++ b/src/actionfilenodesync.c @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: MIT +// Copyright (c) 2014-2021 Valeriano Alfonso Rodriguez + #include #include #include diff --git a/src/actionfilenodesync.h b/src/actionfilenodesync.h index b422a97..86739c9 100644 --- a/src/actionfilenodesync.h +++ b/src/actionfilenodesync.h @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: MIT +// Copyright (c) 2014-2021 Valeriano Alfonso Rodriguez + #ifndef _ACTIONFILENODESYNC_H_ #define _ACTIONFILENODESYNC_H_ diff --git a/src/crc.c b/src/crc.c index 1d797ff..7372578 100644 --- a/src/crc.c +++ b/src/crc.c @@ -1,4 +1,7 @@ -#include +// SPDX-License-Identifier: MIT +// Copyright (c) 2014-2021 Valeriano Alfonso Rodriguez + +#include unsigned long _crcTable[256]; int _crcTableInitialized = 0; diff --git a/src/crc.h b/src/crc.h index 0b5bfef..5e30f99 100644 --- a/src/crc.h +++ b/src/crc.h @@ -1,4 +1,7 @@ -#ifndef _CRC_ +// SPDX-License-Identifier: MIT +// Copyright (c) 2014-2021 Valeriano Alfonso Rodriguez + +#ifndef _CRC_ #define _CRC_ #include diff --git a/src/filenode.c b/src/filenode.c index 8146841..03514e7 100644 --- a/src/filenode.c +++ b/src/filenode.c @@ -1,4 +1,7 @@ -#include +// SPDX-License-Identifier: MIT +// Copyright (c) 2014-2021 Valeriano Alfonso Rodriguez + +#include #include #include diff --git a/src/filenode.h b/src/filenode.h index da1b7fd..3dc6889 100644 --- a/src/filenode.h +++ b/src/filenode.h @@ -1,4 +1,7 @@ -#ifndef _FILENODE_H_ +// SPDX-License-Identifier: MIT +// Copyright (c) 2014-2021 Valeriano Alfonso Rodriguez + +#ifndef _FILENODE_H_ #define _FILENODE_H_ #include "fileutil.h" diff --git a/src/fileutil.c b/src/fileutil.c index 6d3f097..fa679d4 100644 --- a/src/fileutil.c +++ b/src/fileutil.c @@ -1,4 +1,6 @@ - +// SPDX-License-Identifier: MIT +// Copyright (c) 2014-2021 Valeriano Alfonso Rodriguez + #ifdef WIN32 #define _WIN32_WINNT 0x0501 #include diff --git a/src/fileutil.h b/src/fileutil.h index fc2d973..acd0482 100644 --- a/src/fileutil.h +++ b/src/fileutil.h @@ -1,4 +1,7 @@ -#ifndef _FILEUTIL_ +// SPDX-License-Identifier: MIT +// Copyright (c) 2014-2021 Valeriano Alfonso Rodriguez + +#ifndef _FILEUTIL_ #define _FILEUTIL_ //////////////////////////////////////////////// diff --git a/src/main.c b/src/main.c index d66f18f..f7971c8 100644 --- a/src/main.c +++ b/src/main.c @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: MIT +// Copyright (c) 2014-2021 Valeriano Alfonso Rodriguez + #include #include #include diff --git a/src/parameteroperation.c b/src/parameteroperation.c index 75c47b5..fb51ff5 100644 --- a/src/parameteroperation.c +++ b/src/parameteroperation.c @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: MIT +// Copyright (c) 2014-2021 Valeriano Alfonso Rodriguez + #include "parameteroperation.h" #include "util.h" diff --git a/src/parameteroperation.h b/src/parameteroperation.h index 76215c1..65ea007 100644 --- a/src/parameteroperation.h +++ b/src/parameteroperation.h @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: MIT +// Copyright (c) 2014-2021 Valeriano Alfonso Rodriguez + #ifndef _PARAMETEROPERATION_ #define _PARAMETEROPERATION_ diff --git a/src/util.c b/src/util.c index 0c3988c..8925ee8 100644 --- a/src/util.c +++ b/src/util.c @@ -1,4 +1,7 @@ -#include +// SPDX-License-Identifier: MIT +// Copyright (c) 2014-2021 Valeriano Alfonso Rodriguez + +#include #include #include #include diff --git a/src/util.h b/src/util.h index ccd094e..90f2e13 100644 --- a/src/util.h +++ b/src/util.h @@ -1,4 +1,7 @@ -#ifndef _UTIL_ +// SPDX-License-Identifier: MIT +// Copyright (c) 2014-2021 Valeriano Alfonso Rodriguez + +#ifndef _UTIL_ #define _UTIL_ #include