From b43ba68cd49c5275d9a817901bc52e5ab9e1fa0f Mon Sep 17 00:00:00 2001 From: okan Date: Wed, 7 Nov 2012 20:34:39 +0000 Subject: get rid of the xfree() wrapper around free(); from Tiago Cunha. --- xmalloc.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'xmalloc.c') diff --git a/xmalloc.c b/xmalloc.c index 5f7603b..2c42157 100644 --- a/xmalloc.c +++ b/xmalloc.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: xmalloc.c,v 1.7 2011/05/11 13:53:51 okan Exp $ + * $OpenBSD: xmalloc.c,v 1.8 2012/11/07 20:34:39 okan Exp $ */ #include @@ -52,12 +52,6 @@ xcalloc(size_t no, size_t siz) return (p); } -void -xfree(void *p) -{ - free(p); -} - char * xstrdup(const char *str) { -- cgit v1.2.3-2-gb3c3