#ifndef _STDLIB_H_
#define _STDLIB_H_

/* Designed for linking with the standard BSD 4.3 library.  Since that
 * library is not complete ANSI compliant, some of these declarations
 * differ from their ANSI form */

/* very incomplete, obviously */

#include <stddef.h>

#ifdef __STDC__
extern void *calloc(size_t, size_t);
extern void *malloc(size_t);
extern void *realloc(void *, size_t);
extern void free(void *);
extern char *getenv(const char *);
extern void exit(int);
#else
extern char *calloc();
extern char *malloc();
extern char *realloc();
extern void free();
extern char *getenv();
extern void exit();
#endif

#endif
