From: Kamil Wiatrowski Date: Thu, 22 Feb 2018 15:18:54 +0000 (+0000) Subject: intel_pmu plugin: fix for minor issues X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=4dba7ed767e7cf6308b22dbaac575c64579f4f31;p=collectd.git intel_pmu plugin: fix for minor issues Fix minor issues found during review. Update year to 2018, add include in utils_config_cores.h to avoid forward declaration. Change-Id: I7d657bab7c97d7193d7977ef129181cad13d73d5 Signed-off-by: Kamil Wiatrowski --- diff --git a/src/intel_pmu.c b/src/intel_pmu.c index 3e97000f..57ae9748 100644 --- a/src/intel_pmu.c +++ b/src/intel_pmu.c @@ -1,7 +1,7 @@ /** * collectd - src/intel_pmu.c * - * Copyright(c) 2017 Intel Corporation. All rights reserved. + * Copyright(c) 2017-2018 Intel Corporation. All rights reserved. * * 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/intel_rdt.c b/src/intel_rdt.c index 1a39e044..38a6e931 100644 --- a/src/intel_rdt.c +++ b/src/intel_rdt.c @@ -1,7 +1,7 @@ /** * collectd - src/intel_rdt.c * - * Copyright(c) 2016 Intel Corporation. All rights reserved. + * Copyright(c) 2016-2018 Intel Corporation. All rights reserved. * * 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/utils_config_cores.c b/src/utils_config_cores.c index 9d869b98..085e8abe 100644 --- a/src/utils_config_cores.c +++ b/src/utils_config_cores.c @@ -1,7 +1,7 @@ /** * collectd - src/utils_config_cores.c * - * Copyright(c) 2017 Intel Corporation. All rights reserved. + * Copyright(c) 2018 Intel Corporation. All rights reserved. * * 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/utils_config_cores.h b/src/utils_config_cores.h index b5787b1e..e22cbcfe 100644 --- a/src/utils_config_cores.h +++ b/src/utils_config_cores.h @@ -1,7 +1,7 @@ /** * collectd - src/utils_config_cores.h * - * Copyright(c) 2017 Intel Corporation. All rights reserved. + * Copyright(c) 2018 Intel Corporation. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -28,6 +28,8 @@ #ifndef UTILS_CONFIG_CORES_H #define UTILS_CONFIG_CORES_H 1 +#include "configfile.h" + #ifndef PRIsz #define PRIsz "zu" #endif /* PRIsz */ diff --git a/src/utils_config_cores_test.c b/src/utils_config_cores_test.c index 96451a50..4809bd30 100644 --- a/src/utils_config_cores_test.c +++ b/src/utils_config_cores_test.c @@ -1,7 +1,7 @@ /** * collectd - src/utils_config_cores_test.c * - * Copyright(c) 2017 Intel Corporation. All rights reserved. + * Copyright(c) 2018 Intel Corporation. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal