main(argc, argv)
char **argv;
{
extern errno;
if (argc > 1)
acct(argv[1]);
else
acct((char *)0);
if (errno) {
perror("accton");
exit(1);
}
exit(0);
}
elemir@notebook ~/src/v7port/cmd $ cc accton.c -o accton
accton.c: In function ‘main’:
accton.c:11: warning: incompatible implicit declaration of built-in function ‘exit’
accton.c:13: warning: incompatible implicit declaration of built-in function ‘exit’
collect2: ld terminated with signal 11 [Segmentation fault]
/usr/bin/ld: elemir@notebook ~/src/v7port/cmd $