X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_config_cores.h;h=d45f848092f5d5ef88c699494fbbe0230d4b0223;hb=733fc645b6389d1f42aef8f1c1631f1db7d58196;hp=b5787b1e31b317477bc03ef28be1531b0c61304d;hpb=12d7e133cda071ab83f37f18126c4fc6159d08ee;p=collectd.git diff --git a/src/utils_config_cores.h b/src/utils_config_cores.h index b5787b1e..d45f8480 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,13 +28,15 @@ #ifndef UTILS_CONFIG_CORES_H #define UTILS_CONFIG_CORES_H 1 +#include "configfile.h" + #ifndef PRIsz #define PRIsz "zu" #endif /* PRIsz */ struct core_group_s { char *desc; - unsigned *cores; + unsigned int *cores; size_t num_cores; }; typedef struct core_group_s core_group_t;