pkgsrc/net/nocol/patches/patch-aq

21 lines
563 B
Text

$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);