summaryrefslogtreecommitdiff
path: root/pfinet/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet/devices.c')
-rw-r--r--pfinet/devices.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/pfinet/devices.c b/pfinet/devices.c
index 371bbdee..ac37cc03 100644
--- a/pfinet/devices.c
+++ b/pfinet/devices.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1995 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996 Free Software Foundation, Inc.
Written by Michael I. Bushnell, p/BSG.
This file is part of the GNU Hurd.
@@ -42,6 +42,12 @@ init_devices (void)
dev_base = 0;
}
+void
+add_device (struct device *dev)
+{
+ dev->next = dev_base;
+ dev_base = dev;
+}