summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/conf.h1
-rw-r--r--sys/sys/systm.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/conf.h b/sys/sys/conf.h
index 6231281..07e9949 100644
--- a/sys/sys/conf.h
+++ b/sys/sys/conf.h
@@ -255,7 +255,6 @@ int count_dev(struct cdev *_dev);
void destroy_dev(struct cdev *_dev);
struct cdevsw *dev_refthread(struct cdev *_dev);
void dev_relthread(struct cdev *_dev);
-const char *devtoname(struct cdev *_dev);
int dev_named(struct cdev *_pdev, const char *_name);
void dev_depends(struct cdev *_pdev, struct cdev *_cdev);
void dev_ref(struct cdev *dev);
diff --git a/sys/sys/systm.h b/sys/sys/systm.h
index dfcbaa1..40fdfbf 100644
--- a/sys/sys/systm.h
+++ b/sys/sys/systm.h
@@ -312,6 +312,7 @@ dev_t dev2udev(struct cdev *x);
struct cdev *findcdev(dev_t x);
int uminor(dev_t dev);
int umajor(dev_t dev);
+const char *devtoname(struct cdev *cdev);
/* XXX: Should be void nanodelay(u_int nsec); */
void DELAY(int usec);
OpenPOWER on IntegriCloud