NetBSD/sys/arch/newsmips/stand/boot/promdev.h
tsutsui fd4afa037b Misc cleanup:
- 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.
2005-02-06 02:18:02 +00:00

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