Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at ed78aeebef05212ef7dca93bd931e4eff67c113f 11 lines 258 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef ARRAY_SIZE_H 3#define ARRAY_SIZE_H 4 5/** 6 * ARRAY_SIZE - get the number of elements in array @arr 7 * @arr: array to be sized 8 */ 9#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) 10 11#endif /* ARRAY_SIZE_H */