921705c3eb
stuff make this all compile with -Wall -Wno-main -Wmissing-prototypes -Wstrict-prototypes -Werror , also compilable on 1.4.1 label itself as NetBSD/mvme68k instead of "BSD" in bootblock message move bugcrt.c to libbug, remove bugcrt directory (bugcrt is still built and used separately to rest of libbug) convert sboot to use ordinary mvme68 libsa, instead of copying needed stuff in libc_sa.c convert to use version info generated by sys/conf/newvers_stand.sh instead of previous version.c files, add necessary 'version' files put chiptotime() to separate libsa file (used also by sboot/clock.c) Thanks to Steve Woodford for help with this. Note that -current build might be hosed by this change, will be addressed by Steve shortly.
25 lines
573 B
C
25 lines
573 B
C
/* $NetBSD: libsa.h,v 1.4 2000/07/24 18:39:46 jdolecek Exp $ */
|
|
|
|
/*
|
|
* libsa prototypes
|
|
*/
|
|
|
|
#include "libbug.h"
|
|
|
|
/* bugdev.c */
|
|
int bugscopen __P((struct open_file *, ...));
|
|
int bugscclose __P((struct open_file *));
|
|
int bugscioctl __P((struct open_file *, u_long, void *));
|
|
int bugscstrategy __P((void *, int, daddr_t, size_t, void *, size_t *));
|
|
|
|
/* clock.c */
|
|
u_long chiptotime __P((int, int, int, int, int, int));
|
|
time_t getsecs __P((void));
|
|
|
|
/* exec_mvme.c */
|
|
void exec_mvme __P((char *, int, int));
|
|
|
|
/* parse_args.c */
|
|
void parse_args __P((char **, int *, int *));
|
|
|