diff options
author | наб <[email protected]> | 2022-05-07 19:18:41 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-05-13 10:15:31 -0700 |
commit | c25b281378e504d69ad0f2212f233f0c6b016b33 (patch) | |
tree | 529b27116fe6d3466ce78af5ebbeb584e7724ccc /module/os/linux | |
parent | 0c11a2738d3778a359de708911643a6b2cc15fa6 (diff) |
Remove hw_serial, ddi_strtoul()
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #13434
Diffstat (limited to 'module/os/linux')
-rw-r--r-- | module/os/linux/spl/spl-generic.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/module/os/linux/spl/spl-generic.c b/module/os/linux/spl/spl-generic.c index 143f34598..6fa564b85 100644 --- a/module/os/linux/spl/spl-generic.c +++ b/module/os/linux/spl/spl-generic.c @@ -425,13 +425,13 @@ EXPORT_SYMBOL(__aeabi_ldivmod); * functions against their Solaris counterparts. It is possible that I * may have misinterpreted the man page or the man page is incorrect. */ -int ddi_strtoul(const char *, char **, int, unsigned long *); +static int ddi_strtoul(const char *, char **, int, unsigned long *); int ddi_strtol(const char *, char **, int, long *); int ddi_strtoull(const char *, char **, int, unsigned long long *); int ddi_strtoll(const char *, char **, int, long long *); -#define define_ddi_strtoux(type, valtype) \ -int ddi_strtou##type(const char *str, char **endptr, \ +#define define_ddi_strtoux(type, valtype, ...) \ +__VA_ARGS__ int ddi_strtou##type(const char *str, char **endptr, \ int base, valtype *result) \ { \ valtype last_value, value = 0; \ @@ -508,12 +508,12 @@ int ddi_strto##type(const char *str, char **endptr, \ return (rc); \ } -define_ddi_strtoux(l, unsigned long) +#define blank +define_ddi_strtoux(l, unsigned long, static) define_ddi_strtox(l, long) -define_ddi_strtoux(ll, unsigned long long) +define_ddi_strtoux(ll, unsigned long long, blank) define_ddi_strtox(ll, long long) -EXPORT_SYMBOL(ddi_strtoul); EXPORT_SYMBOL(ddi_strtol); EXPORT_SYMBOL(ddi_strtoll); EXPORT_SYMBOL(ddi_strtoull); |