fd4afa037b
- ANSI function decls - remove __P() - u_intNN_t -> uintNN_t - remove register decls - bcopy -> memcpy, strcpy - bzero -> memset - bcmp -> memcmp - use malloc(9) with M_ZERO - some KNF etc.
14 lines
234 B
C
14 lines
234 B
C
struct romdev {
|
|
int fd;
|
|
int devtype;
|
|
char devname[32];
|
|
};
|
|
|
|
#define DT_BLOCK 1
|
|
#define DT_NET 2
|
|
|
|
int net_open(struct romdev *);
|
|
int net_close(struct romdev *);
|
|
int net_mountroot(void);
|
|
int prom_getether(struct romdev *, u_char *);
|