aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorнаб <[email protected]>2022-05-07 19:18:41 +0200
committerBrian Behlendorf <[email protected]>2022-05-13 10:15:31 -0700
commitc25b281378e504d69ad0f2212f233f0c6b016b33 (patch)
tree529b27116fe6d3466ce78af5ebbeb584e7724ccc /include
parent0c11a2738d3778a359de708911643a6b2cc15fa6 (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 'include')
-rw-r--r--include/os/freebsd/spl/sys/misc.h2
-rw-r--r--include/os/freebsd/spl/sys/sunddi.h1
-rw-r--r--include/os/linux/spl/sys/sunddi.h1
-rw-r--r--include/sys/zfs_context.h4
4 files changed, 0 insertions, 8 deletions
diff --git a/include/os/freebsd/spl/sys/misc.h b/include/os/freebsd/spl/sys/misc.h
index 3481507d2..2e4efc605 100644
--- a/include/os/freebsd/spl/sys/misc.h
+++ b/include/os/freebsd/spl/sys/misc.h
@@ -52,8 +52,6 @@ struct opensolaris_utsname {
char *machine;
};
-extern char hw_serial[11];
-
#define task_io_account_read(n)
#define task_io_account_write(n)
diff --git a/include/os/freebsd/spl/sys/sunddi.h b/include/os/freebsd/spl/sys/sunddi.h
index bfbc3e10a..28d40121d 100644
--- a/include/os/freebsd/spl/sys/sunddi.h
+++ b/include/os/freebsd/spl/sys/sunddi.h
@@ -48,7 +48,6 @@ typedef int ddi_devid_t;
#define ddi_prop_free(x) (void)0
#define ddi_root_node() (void)0
-extern int ddi_strtoul(const char *, char **, int, unsigned long *);
extern int ddi_strtol(const char *, char **, int, long *);
extern int ddi_strtoull(const char *, char **, int, unsigned long long *);
extern int ddi_strtoll(const char *, char **, int, long long *);
diff --git a/include/os/linux/spl/sys/sunddi.h b/include/os/linux/spl/sys/sunddi.h
index 8524ec9c3..df6a204d5 100644
--- a/include/os/linux/spl/sys/sunddi.h
+++ b/include/os/linux/spl/sys/sunddi.h
@@ -46,7 +46,6 @@ typedef int ddi_devid_t;
#define ddi_prop_free(x) (void)0
#define ddi_root_node() (void)0
-extern int ddi_strtoul(const char *, char **, int, unsigned long *);
extern int ddi_strtol(const char *, char **, int, long *);
extern int ddi_strtoull(const char *, char **, int, unsigned long long *);
extern int ddi_strtoll(const char *, char **, int, long long *);
diff --git a/include/sys/zfs_context.h b/include/sys/zfs_context.h
index 944acdcfb..50257f1d6 100644
--- a/include/sys/zfs_context.h
+++ b/include/sys/zfs_context.h
@@ -692,10 +692,6 @@ extern char *kmem_asprintf(const char *fmt, ...);
/*
* Hostname information
*/
-extern char hw_serial[]; /* for userland-emulated hostid access */
-extern int ddi_strtoul(const char *str, char **nptr, int base,
- unsigned long *result);
-
extern int ddi_strtoull(const char *str, char **nptr, int base,
u_longlong_t *result);