[PATCH v5 1/4] riscv: Add Linux hwprobe syscall support

Joseph Myers joseph@codesourcery.com
Wed Jul 19 22:44:32 GMT 2023


On Wed, 12 Jul 2023, Evan Green wrote:

> +extern int __riscv_hwprobe (struct riscv_hwprobe *pairs, size_t pair_count,
> +			    size_t cpu_count, unsigned long int *cpus,
> +			    unsigned int flags)

In an installed header, I'd expect leading __ on parameter names in 
function declarations, so that you don't take those names from the user's 
namespace for macros unnecessarily.

-- 
Joseph S. Myers
joseph@codesourcery.com


More information about the Libc-alpha mailing list