diff options
author | jhb <jhb@FreeBSD.org> | 2000-08-03 09:08:29 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2000-08-03 09:08:29 +0000 |
commit | 04f2dc8e0bc028215d67716bd57720b48e9867ff (patch) | |
tree | 5027dd91afd5ed090350e7ef3103dc38d8f9a1ca /lib/libstand/netif.h | |
parent | ea5b5bab77fc7b8bea8fa349155989859d483300 (diff) | |
download | FreeBSD-src-04f2dc8e0bc028215d67716bd57720b48e9867ff.zip FreeBSD-src-04f2dc8e0bc028215d67716bd57720b48e9867ff.tar.gz |
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
Diffstat (limited to 'lib/libstand/netif.h')
-rw-r--r-- | lib/libstand/netif.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libstand/netif.h b/lib/libstand/netif.h index 0609310..dac2851 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 *); |