mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-25 19:46:21 +00:00
Clean up warnings when compiling with ethernet enabled (#188)
* Clean up warnings when compiling with ethernet enabled Add a dlpidefs.h header for prototypes of the dlpi.c functions. Convert from bcopy() to memcpy(). Change some char to u_char as needed. * Neither ether_addr_equal nor init_uid need to be defined if NOETHER is defined
This commit is contained in:
8
inc/dlpidefs.h
Normal file
8
inc/dlpidefs.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef DLPIDEFS_H
|
||||
#define DLPIDEFS_H 1
|
||||
int setup_dlpi_dev(char *device);
|
||||
void flush_dlpi(int fd);
|
||||
int dlpi_devtype(int fd);
|
||||
char *savestr(char *s);
|
||||
int dlunitdatareq(int fd, u_char *addrp, int addrlen, u_long minpri, u_long maxpri, u_char *datap, int datalen);
|
||||
#endif
|
||||
Reference in New Issue
Block a user