summaryrefslogtreecommitdiff
path: root/net/nocol/patches/patch-aq
blob: 073f3e289ae02d573a4ad0623d4206ed5fcd430b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-aq,v 1.3 2012/09/09 19:42:25 dholland Exp $

- don't declare own errno
- declare own external functions properly

--- etherload/externs.h.orig	1997-08-22 05:52:10.000000000 +0000
+++ etherload/externs.h
@@ -14,7 +14,6 @@ extern int		breakscan;
 extern int		sleepsecs;
 extern int		scansecs;
 extern int		debug;
-extern int		errno;
 extern int		extended;
 extern int		ninterfaces;
 extern int		truncation;
@@ -44,3 +43,5 @@ void			usage();
 void			wakeup();
 void			flush_device();
 
+char **get_devlist(void);
+char *ndt_namebw(int ndt, long *bw);