Be pedantic, main() returns int in Standard C.
This commit is contained in:
parent
cac62b2d65
commit
04b0ab5344
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: arithmetic.c,v 1.5 1995/03/21 11:59:32 cgd Exp $ */
|
||||
/* $NetBSD: arithmetic.c,v 1.6 1996/03/21 18:30:19 jtc Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
|
@ -46,7 +46,7 @@ static char copyright[] =
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)arithmetic.c 8.1 (Berkeley) 5/31/93";
|
||||
#else
|
||||
static char rcsid[] = "$NetBSD: arithmetic.c,v 1.5 1995/03/21 11:59:32 cgd Exp $";
|
||||
static char rcsid[] = "$NetBSD: arithmetic.c,v 1.6 1996/03/21 18:30:19 jtc Exp $";
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -101,7 +101,7 @@ time_t qtime;
|
|||
* bound is 10. After every NQUESTS questions, statistics on the performance
|
||||
* so far are printed.
|
||||
*/
|
||||
void
|
||||
int
|
||||
main(argc, argv)
|
||||
int argc;
|
||||
char **argv;
|
||||
|
|
|
@ -450,7 +450,7 @@ initialize_buffers ()
|
|||
bzero (zeros_512, 512);
|
||||
}
|
||||
|
||||
void
|
||||
int
|
||||
main (argc, argv)
|
||||
int argc;
|
||||
char *argv[];
|
||||
|
|
|
@ -1451,7 +1451,7 @@ set_ordering (s, key, blanktype)
|
|||
return s;
|
||||
}
|
||||
|
||||
void
|
||||
int
|
||||
main (argc, argv)
|
||||
int argc;
|
||||
char *argv[];
|
||||
|
|
|
@ -18,7 +18,7 @@ along with GNU Tar; see the file COPYING. If not, write to
|
|||
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
|
||||
#ifndef lint
|
||||
static char rcsid[] = "$Id: tar.c,v 1.6 1993/08/07 07:42:54 cgd Exp $";
|
||||
static char rcsid[] = "$Id: tar.c,v 1.7 1996/03/21 18:35:51 jtc Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
/*
|
||||
|
@ -194,7 +194,7 @@ struct option long_options[] =
|
|||
/*
|
||||
* Main routine for tar.
|
||||
*/
|
||||
void
|
||||
int
|
||||
main (argc, argv)
|
||||
int argc;
|
||||
char **argv;
|
||||
|
|
Loading…
Reference in New Issue