1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-04 23:44:42 +00:00

Resolve warning: no previous extern declaration for non-static variable.

Declare ether broadcast address constant.
This commit is contained in:
Nick Briggs
2023-01-07 11:00:36 -08:00
parent 97cca299be
commit 4b0eea260f
3 changed files with 10 additions and 3 deletions

View File

@@ -44,7 +44,7 @@
extern int ether_fd; /* file descriptor for ether socket */
extern u_char ether_host[6]; /* 48 bit address of this node */
extern u_char broadcast[6];
extern const u_char broadcast[6];
extern int ether_bsize; /* if nonzero then a receive is pending */
extern u_char *ether_buf; /* address of receive buffer */
extern LispPTR *PENDINGINTERRUPT68k;