Remove definition of malloc and realloc. Instead include stdlib.h.

This commit is contained in:
Warner Losh 1998-09-11 05:39:08 +00:00
parent aa1b326112
commit 530c496f92
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=39061

View File

@ -1,6 +1,6 @@
/* /*
* $Header: init_et.c,v 1.5 88/10/27 08:34:54 raeburn Exp $ * $Header: /home/imp/FreeBSD/CVS/src/lib/libcom_err/init_et.c,v 1.1.1.1 1995/01/14 22:23:41 wollman Exp $
* $Source: /mit/raeburn/Work/et/src/RCS/init_et.c,v $ * $Source: /home/imp/FreeBSD/CVS/src/lib/libcom_err/init_et.c,v $
* $Locker: $ * $Locker: $
* *
* Copyright 1986, 1987, 1988 by MIT Information Systems and * Copyright 1986, 1987, 1988 by MIT Information Systems and
@ -10,6 +10,7 @@
*/ */
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include "error_table.h" #include "error_table.h"
#include "mit-sipb-copyright.h" #include "mit-sipb-copyright.h"
@ -19,11 +20,9 @@
#ifndef lint #ifndef lint
static const char rcsid_init_et_c[] = static const char rcsid_init_et_c[] =
"$Header: init_et.c,v 1.5 88/10/27 08:34:54 raeburn Exp $"; "$Header: /home/imp/FreeBSD/CVS/src/lib/libcom_err/init_et.c,v 1.1.1.1 1995/01/14 22:23:41 wollman Exp $";
#endif #endif
extern char *malloc(), *realloc();
struct foobar { struct foobar {
struct et_list etl; struct et_list etl;
struct error_table et; struct error_table et;