summaryrefslogtreecommitdiffstats
path: root/support/include/xmalloc.h
diff options
context:
space:
mode:
authorAmit Gud <agud@redhat.com>2006-06-12 19:08:27 -0400
committerNeil Brown <neilb@suse.de>2006-06-16 12:19:45 +1000
commit4e2bae795e5eaf9922f0b966ab5df64994c836a2 (patch)
tree5bd9031586cbc3f6e644d9967d54acf00a7ebb4d /support/include/xmalloc.h
parenta0520fa1a41bd33815b331b660b4545f2723495c (diff)
downloadnfs-utils-4e2bae795e5eaf9922f0b966ab5df64994c836a2.tar.gz
nfs-utils-4e2bae795e5eaf9922f0b966ab5df64994c836a2.tar.xz
nfs-utils-4e2bae795e5eaf9922f0b966ab5df64994c836a2.zip
Move NFS mount code from util-linux to nfs-utils - part 2
Adds the support functions needed for mount and umount. This functionality will someday be available in the form of shared mount library. Signed-off-by: Amit Gud <agud@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/include/xmalloc.h')
-rw-r--r--support/include/xmalloc.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/support/include/xmalloc.h b/support/include/xmalloc.h
index 866cfd8..8b82800 100644
--- a/support/include/xmalloc.h
+++ b/support/include/xmalloc.h
@@ -1,16 +1 @@
-/*
- * xmalloc Module for memory allocation. Drop in your
- * debugging malloc module if you feel like it.
- *
- * Copyright (C) 1995 Olaf Kirch <okir@monad.swb.de>
- */
-
-#ifndef XMALLOC_H
-#define XMALLOC_H
-
-void *xmalloc(size_t size);
-void *xrealloc(void *ptr, size_t size);
-char *xstrdup(const char *s);
-void xfree(void *ptr);
-
-#endif /* XMALLOC_H */
+#include "xcommon.h"