19#ifndef PROTOCORE_WEARLEVEL_H
20#define PROTOCORE_WEARLEVEL_H
24#if PROTOCORE_ENABLE_WEARLEVEL
31 const uint32_t *counts;
65extern WearlevelVars WearlevelV;
70 void (*
const pick)(uint8_t *work);
71 void (*
const mark)(uint8_t *work);
72 void (*
const imbalance)(uint8_t *work);
77void protocore_wearlevel_pick(uint8_t *work);
78void protocore_wearlevel_mark(uint8_t *work);
79void protocore_wearlevel_imbalance(uint8_t *work);
85static const WearlevelNs Wearlevel __attribute__((unused)) = {
86 .pick = protocore_wearlevel_pick,
87 .mark = protocore_wearlevel_mark,
88 .imbalance = protocore_wearlevel_imbalance,
#define PROTOCORE_BEGIN_DECLS
Give a header's declarations C linkage, so their symbol names carry no parameter types.
#define PROTOCORE_END_DECLS