use prototypes provided by header files instead of our own

This commit is contained in:
jtc 1994-05-12 17:08:55 +00:00
parent a81e412494
commit 98d2c75927
2 changed files with 1 additions and 4 deletions

View File

@ -44,6 +44,7 @@ static char sccsid[] = "@(#)memalloc.c 8.1 (Berkeley) 5/31/93";
#include "error.h"
#include "machdep.h"
#include "mystring.h"
#include <stdlib.h>
#include <unistd.h>
/*
@ -53,7 +54,6 @@ static char sccsid[] = "@(#)memalloc.c 8.1 (Berkeley) 5/31/93";
pointer
ckmalloc(nbytes) {
register pointer p;
pointer malloc();
if ((p = malloc(nbytes)) == NULL)
error("Out of space");
@ -69,7 +69,6 @@ pointer
ckrealloc(p, nbytes)
register pointer p;
{
pointer realloc();
if ((p = realloc(p, nbytes)) == NULL)
error("Out of space");

View File

@ -147,8 +147,6 @@ readcmd(argc, argv) char **argv; {
umaskcmd(argc, argv) char **argv; {
extern void *setmode();
extern mode_t getmode();
char *ap;
int mask;
int i;