xref: /netbsd/lib/libcompat/4.3/cfree.c (revision eb7c1594)
19f670da2Scgd /*-
29f670da2Scgd  * Copyright (c) 1992, 1993
39f670da2Scgd  *	The Regents of the University of California.  All rights reserved.
49f670da2Scgd  *
59f670da2Scgd  * Redistribution and use in source and binary forms, with or without
69f670da2Scgd  * modification, are permitted provided that the following conditions
79f670da2Scgd  * are met:
89f670da2Scgd  * 1. Redistributions of source code must retain the above copyright
99f670da2Scgd  *    notice, this list of conditions and the following disclaimer.
109f670da2Scgd  * 2. Redistributions in binary form must reproduce the above copyright
119f670da2Scgd  *    notice, this list of conditions and the following disclaimer in the
129f670da2Scgd  *    documentation and/or other materials provided with the distribution.
13*eb7c1594Sagc  * 3. Neither the name of the University nor the names of its contributors
149f670da2Scgd  *    may be used to endorse or promote products derived from this software
159f670da2Scgd  *    without specific prior written permission.
169f670da2Scgd  *
179f670da2Scgd  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
189f670da2Scgd  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
199f670da2Scgd  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
209f670da2Scgd  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
219f670da2Scgd  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
229f670da2Scgd  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
239f670da2Scgd  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
249f670da2Scgd  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
259f670da2Scgd  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
269f670da2Scgd  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
279f670da2Scgd  * SUCH DAMAGE.
289f670da2Scgd  */
299f670da2Scgd 
30e37aec67Slukem #include <sys/cdefs.h>
319f670da2Scgd #if defined(LIBC_SCCS) && !defined(lint)
328b787e68Smikel #if 0
339f670da2Scgd static char sccsid[] = "@(#)cfree.c	8.1 (Berkeley) 6/4/93";
348b787e68Smikel #else
35*eb7c1594Sagc __RCSID("$NetBSD: cfree.c,v 1.4 2003/08/07 16:44:15 agc Exp $");
368b787e68Smikel #endif
379f670da2Scgd #endif /* LIBC_SCCS and not lint */
389f670da2Scgd 
398b787e68Smikel #include <stdlib.h>
408b787e68Smikel 
419f670da2Scgd void
cfree(p)429f670da2Scgd cfree(p)
439f670da2Scgd 	void *p;
449f670da2Scgd {
459f670da2Scgd 	free(p);
469f670da2Scgd }
47