summaryrefslogtreecommitdiff
path: root/pfinet
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-05-14 12:56:33 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-05-14 12:56:33 +0000
commit9027298494805ac696540a7be0ebd1c0d621bc59 (patch)
tree3305d1054437445727bab84960d2eff43ab3ce71 /pfinet
parent347208ec308ea52ccdfdba78d2439a823836fdda (diff)
*** empty log message ***
Diffstat (limited to 'pfinet')
-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;
+}