NetBSD/sys/arch/mvme68k/stand/libsa/libsa.h
tsutsui 69cf32a782 Replace time_t values in libsa sources with the following two types
to avoid unnecessary 64 bit ops which would make binaries larger:

satime_t (currently unsigned int):
 numbers in seconds returned by the machine dependent getsecs() function
 which are used to measure relative time

saseconds_t (currently int):
 numbers in seconds used to specify timeout to network drivers

Per discussion on current-users.
2009-01-12 11:32:43 +00:00

24 lines
502 B
C

/* $NetBSD: libsa.h,v 1.6 2009/01/12 11:32:44 tsutsui Exp $ */
/*
* libsa prototypes
*/
#include "libbug.h"
/* bugdev.c */
int bugscopen(struct open_file *, ...);
int bugscclose(struct open_file *);
int bugscioctl(struct open_file *, u_long, void *);
int bugscstrategy(void *, int, daddr_t, size_t, void *, size_t *);
/* clock.c */
u_long chiptotime(int, int, int, int, int, int);
/* exec_mvme.c */
void exec_mvme(char *, int, int);
/* parse_args.c */
void parse_args(char **, int *, int *);