summaryrefslogtreecommitdiffstats
path: root/sys/sys/device.h
diff options
context:
space:
mode:
authordownsj <downsj@openbsd.org>1997-08-07 10:22:51 +0000
committerdownsj <downsj@openbsd.org>1997-08-07 10:22:51 +0000
commit5707fa627adea25fcf3de4dcf3ef8578e234ce7f (patch)
tree0a1c3b1bdf2492bebc496ab8e1ee6f203fc2a052 /sys/sys/device.h
parentcf_locnames support, from NetBSD (jtk, according to the RCSids). (diff)
downloadwireguard-openbsd-5707fa627adea25fcf3de4dcf3ef8578e234ce7f.tar.xz
wireguard-openbsd-5707fa627adea25fcf3de4dcf3ef8578e234ce7f.zip
Add cf_locnames to struct cfdata.
Diffstat (limited to 'sys/sys/device.h')
-rw-r--r--sys/sys/device.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/sys/device.h b/sys/sys/device.h
index f8a08ad392e..a009615751b 100644
--- a/sys/sys/device.h
+++ b/sys/sys/device.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: device.h,v 1.10 1996/11/23 21:47:13 kstailey Exp $ */
+/* $OpenBSD: device.h,v 1.11 1997/08/07 10:22:51 downsj Exp $ */
/* $NetBSD: device.h,v 1.15 1996/04/09 20:55:24 cgd Exp $ */
/*
@@ -94,8 +94,9 @@ struct cfdata {
int cf_flags; /* flags from config */
short *cf_parents; /* potential parents */
int cf_locnames; /* start of names */
- void (**cf_ivstubs) /* config-generated vectors, if any */
- __P((void));
+ void (**cf_ivstubs)__P((void));
+ /* config-generated vectors, if any */
+ const char **cf_locnames; /* locator names (machine dependent) */
};
extern struct cfdata cfdata[];
#define FSTATE_NOTFOUND 0 /* has not been found */