summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2008-12-05 16:23:57 -0800
committerBrian Behlendorf <[email protected]>2008-12-05 16:23:57 -0800
commit2ee63a549ae18875ded60ec2f0fc7315e076c326 (patch)
tree621aeb5d07a6f2f8920e538ad515789d0ce97eff /include
parent857c63f413b16f723ebd408b3b753d1a45bff924 (diff)
Add struct ddi_strtox functions
Diffstat (limited to 'include')
-rw-r--r--include/sys/sunddi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sys/sunddi.h b/include/sys/sunddi.h
index dea09d171..cf9c8ebc7 100644
--- a/include/sys/sunddi.h
+++ b/include/sys/sunddi.h
@@ -200,6 +200,11 @@ extern void __ddi_remove_minor_node(dev_info_t *dip, char *name);
extern int __mod_install(struct modlinkage *modlp);
extern int __mod_remove(struct modlinkage *modlp);
+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 *);
+
static __inline__ void ddi_report_dev(dev_info_t *d) { }
static __inline__ void ddi_prop_remove_all(dev_info_t *dip) { }