diff options
author | okan | 2012-11-07 20:34:39 +0000 |
---|---|---|
committer | okan | 2012-11-07 20:34:39 +0000 |
commit | b43ba68cd49c5275d9a817901bc52e5ab9e1fa0f (patch) | |
tree | 84c261aa6435bed59c69a13ba6b3f0fb5fab6f2b /xmalloc.c | |
parent | fbbfab69fda3ae91cc59549b0a4e9040a30378f3 (diff) | |
download | cwm-b43ba68cd49c5275d9a817901bc52e5ab9e1fa0f.tar.gz |
get rid of the xfree() wrapper around free(); from Tiago Cunha.
Diffstat (limited to 'xmalloc.c')
-rw-r--r-- | xmalloc.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -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 <sys/param.h> @@ -52,12 +52,6 @@ xcalloc(size_t no, size_t siz) return (p); } -void -xfree(void *p) -{ - free(p); -} - char * xstrdup(const char *str) { |