When seeing some piece of codes I saw this "declaration" - as far as I can understand this is a declaration - at /drivers/base/cpu.c in the kernel:
static CLASS_ATTR(probe, S_IWUSR, NULL, cpu_probe_store);
The file is written in C/C++ is cpu.c but with my limited knowledge of C/C++ I have no idea what the meaning of this "declaration" line. No need to explain about the actual meaning of parameters in this file, if possible just show me the role definition of this "declaration".
c/c++, just to stay away from it, because, it' UB. :)