aboutsummaryrefslogtreecommitdiff
path: root/lib/libstand/netif.h
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2000-08-03 09:08:29 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2000-08-03 09:08:29 +0000
commit13ba80d4ce2f8256d86e7674c4b0bff90e9a8bf7 (patch)
tree973c66819d19e2ed8dd2e10404574295f8faf760 /lib/libstand/netif.h
parent92a4949b42185d82d18fc253fdc728c151c91134 (diff)
downloadsrc-13ba80d4ce2f8256d86e7674c4b0bff90e9a8bf7.tar.gz
src-13ba80d4ce2f8256d86e7674c4b0bff90e9a8bf7.zip
Cleanup warnings by adding missint prototypes, removing unneeded duplicate
prototypes, and adding in several 'const's. Also, add some missing $FreeBSD$'s. Found by: BDECFLAGS
Notes
Notes: svn path=/head/; revision=64185
Diffstat (limited to 'lib/libstand/netif.h')
-rw-r--r--lib/libstand/netif.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libstand/netif.h b/lib/libstand/netif.h
index 06093103fa05..dac285107a73 100644
--- a/lib/libstand/netif.h
+++ b/lib/libstand/netif.h
@@ -1,5 +1,7 @@
/* $NetBSD: netif.h,v 1.4 1995/09/14 23:45:30 pk Exp $ */
+/* $FreeBSD$ */
+
#ifndef __SYS_LIBNETBOOT_NETIF_H
#define __SYS_LIBNETBOOT_NETIF_H
#include "iodesc.h"
@@ -7,7 +9,7 @@
#define NENTS(x) sizeof(x)/sizeof(x[0])
struct netif_driver {
- char *netif_bname;
+ const char *netif_bname;
int (*netif_match)(struct netif *, void *);
int (*netif_probe)(struct netif *, void *);
void (*netif_init)(struct iodesc *, void *);