exit(1);
}
-void main(int argc, char **argv)
+int main(int argc, char **argv)
{
int i;
char *flags;
}
#endif
exit(ex_code);
+ return ex_code;
}
/****************************************************************/
-void main( argc, argv )
+int main( argc, argv )
int argc;
char *argv[];
/* de.c */
-_PROTOTYPE(void main , (int argc , char *argv []));
+_PROTOTYPE(int main , (int argc , char *argv []));
_PROTOTYPE(int Process , (de_state *s , int c ));
#if __STDC__
_PROTOTYPE(void mjhand, (int j ));
/* dismain.c */
-_PROTOTYPE(void main, (int argc, char **argv ));
+_PROTOTYPE(int main, (int argc, char **argv ));
/* distabs.c */
_PROTOTYPE(char *getnam, (int k ));
* *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
-void
+int
main(argc,argv)
int argc; /* Command-line args from OS */
- register char **argv;
+ char **argv;
{/* * * * * * * * * * * START OF main() * * * * * * * * * * */
exit(1);
}
-void main(int argc, char **argv)
+int main(int argc, char **argv)
{
char *device;
int fd;
int flag;
{
register char *res, *mess;
- char *sbe_mvfy(), *sbe_sbvfy(), *sbe_svfy();
- if(res = sbe_mvfy(0)) mess = "Mem mgt";
- else if(res = sbe_sbvfy(cur_buf,0)) mess = "SBBUF";
- else if(res = sbe_svfy(0)) mess = "SD list";
+ if(res = sbe_mvfy()) mess = "Mem mgt";
+ else if(res = sbe_sbvfy(cur_buf)) mess = "SBBUF";
+ else if(res = sbe_svfy()) mess = "SD list";
else return(0); /* Success */
if(flag)
}
+void getsize(int signo);
/* Read everything from termcap */
static void starttcap(term)
# include "vmswild.c"
main (argc, argv)
# else
-void main(argc, argv)
+int main(argc, argv)
# endif
#endif
int argc;
char DHCPCACHE[]=_PATH_DHCPCACHE;
-void main _ARGS(( int argc, char *argv[] ));
+int main _ARGS(( int argc, char *argv[] ));
void usage _ARGS(( void ));
-void main(argc, argv)
+int main(argc, argv)
int argc;
char *argv[];
{
name of output file */
char bakfile[60];
-void main(argc, argv)
+int main(argc, argv)
int argc;
char **argv;
{
_PROTOTYPE( void set_defaults, (void ) );
_PROTOTYPE( void set_option, (char *arg) );
_PROTOTYPE( void pr_comment, (void ) );
-_PROTOTYPE( void main, (int argc,char * *argv) );
+_PROTOTYPE( int main, (int argc,char * *argv) );
_PROTOTYPE( void bakcopy, (void ) );
_PROTOTYPE( void dump_line, (void ) );
_PROTOTYPE( int code_target, (void ) );
exit(1);
}
-void main(int argc, char **argv)
+int main(int argc, char **argv)
{
int i= 1;
int mode= -1; /* Mode of target. */
#define MAXFLD 200 /* maximum # of fields to accept */
-_PROTOTYPE(void main, (int argc, char **argv));
+_PROTOTYPE(int main, (int argc, char **argv));
_PROTOTYPE(void error, (char *s, char *t));
_PROTOTYPE(void usage, (void));
_PROTOTYPE(void match, (void));
char sep; /* c for -tc: filed separator */
char *cmd; /* name of this program */
-void main(argc, argv)
+int main(argc, argv)
int argc;
char **argv;
{
char cmd[1];
} *b_head, *curpnt;
-_PROTOTYPE( void main , (int argc, char *argv[]));
+_PROTOTYPE( int main , (int argc, char *argv[]));
FORWARD _PROTOTYPE( void cleanup , (void));
FORWARD _PROTOTYPE( void freepnt , (struct b_pnt *pnt ));
longjmp(mainlp, 0);
}
-PUBLIC void main(argc, argv)
+PUBLIC int main(argc, argv)
int argc;
char *argv[];
{
_PROTOTYPE(void load_file, (char *file ));
_PROTOTYPE(int get_line, (int fd, char *buffer ));
_PROTOTYPE(LINE *install_line, (char *buffer, int length ));
-_PROTOTYPE(void main, (int argc, char *argv []));
+_PROTOTYPE(int main, (int argc, char *argv []));
_PROTOTYPE(void RD, (void));
_PROTOTYPE(void I, (void));
_PROTOTYPE(void XT, (void));
return new_line;
}
-void main(argc, argv)
+int main(argc, argv)
int argc;
char *argv[];
{
#include <sys/ioctl.h>
#include <minix/sound.h>
-_PROTOTYPE( void main, (int argc, char **argv));
+_PROTOTYPE( int main, (int argc, char **argv));
_PROTOTYPE( void usage, (void));
/******* Wave format definitions *********/
}
-void main ( int argc, char *argv[] )
+int main ( int argc, char *argv[] )
{
int i, r, audio, file;
char *buffer, *file_name;
#include <sys/ioctl.h>
#include <minix/sound.h>
-_PROTOTYPE (void main, (int argc, char **argv));
+_PROTOTYPE (int main, (int argc, char **argv));
_PROTOTYPE (void usage, (void));
_PROTOTYPE ( void write_wave_header, (void));
_PROTOTYPE ( void terminate, (int s));
}
-void main(argc, argv)
+int main(argc, argv)
int argc;
char **argv;
{
#include <net/netlib.h>
#include <net/gen/netdb.h>
-void main _ARGS(( int argc, char *argv[] ));
+int main _ARGS(( int argc, char *argv[] ));
void usage _ARGS(( void ));
char *copyargs _ARGS(( char **argv ));
void sendsig _ARGS(( int signo ));
extern int errno;
int rfd2;
-void
+int
main(argc, argv)
int argc;
char **argv;
return bios_crtbase == CRTBASE_MONO ? MONO_BASE : COLOR_BASE;
}
-void main(void)
+int main(void)
{
static unsigned char screen[MAX_COLS * MAX_ROWS * 2];
unsigned char *ps;
#define PROTO(a) ()
#endif
-void main PROTO(( int argc, char **argv ));
+int main PROTO(( int argc, char **argv ));
void report PROTO(( int flags ));
int option PROTO(( char *opt, char *next ));
int match PROTO(( char *s1, char *s2 ));
#define print_char(c,d,n,a) (do_print_char((unsigned)(c),(unsigned)(d),(n),(a)))
#define print_num(m,d,n,a) (do_print_num((unsigned)(m),(unsigned)(d),(n),(a)))
-void main(argc, argv)
+int main(argc, argv)
int argc;
char *argv[];
{
exit(-1);
}
-void main(int argc, char **argv)
+int main(int argc, char **argv)
{
char termbuf[1024];
char string[256], *pstr;
pr->p_memmap[D].mem_len) << CLICK_SHIFT)/1024);
printf("%6s", pr->p_rts_flags ? "" : "RUN");
ticks = pr->p_user_time;
- printf(" %3d:%02d ", (ticks/system_hz/60), (ticks/system_hz)%60);
+ printf(" %3ld:%02ld ", (ticks/system_hz/60), (ticks/system_hz)%60);
pcyc = div64u(tp->ticks, SCALE);