add explicit return type

This commit is contained in:
jtc 1995-06-14 05:19:52 +00:00
parent 6eaa1d60d8
commit 0b2dbb02ca
3 changed files with 6 additions and 3 deletions

View File

@ -33,11 +33,12 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)atoi.c 5.7 (Berkeley) 2/23/91";*/
static char *rcsid = "$Id: atoi.c,v 1.4 1995/02/28 01:46:32 jtc Exp $";
static char *rcsid = "$Id: atoi.c,v 1.5 1995/06/14 05:19:52 jtc Exp $";
#endif /* LIBC_SCCS and not lint */
#include <stdlib.h>
int
atoi(str)
const char *str;
{

View File

@ -33,7 +33,7 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)setenv.c 5.6 (Berkeley) 6/4/91";*/
static char *rcsid = "$Id: setenv.c,v 1.6 1995/02/28 01:46:53 jtc Exp $";
static char *rcsid = "$Id: setenv.c,v 1.7 1995/06/14 05:19:57 jtc Exp $";
#endif /* LIBC_SCCS and not lint */
#include <stdlib.h>
@ -44,6 +44,7 @@ static char *rcsid = "$Id: setenv.c,v 1.6 1995/02/28 01:46:53 jtc Exp $";
* Set the value of the environmental variable "name" to be
* "value". If rewrite is set, replace any current value.
*/
int
setenv(name, value, rewrite)
register const char *name;
register const char *value;

View File

@ -33,7 +33,7 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)system.c 5.10 (Berkeley) 2/23/91";*/
static char *rcsid = "$Id: system.c,v 1.9 1995/02/28 01:46:57 jtc Exp $";
static char *rcsid = "$Id: system.c,v 1.10 1995/06/14 05:20:01 jtc Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@ -45,6 +45,7 @@ static char *rcsid = "$Id: system.c,v 1.9 1995/02/28 01:46:57 jtc Exp $";
extern char **environ;
int
system(command)
const char *command;
{