summaryrefslogtreecommitdiffstats
path: root/xmalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'xmalloc.h')
-rw-r--r--xmalloc.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/xmalloc.h b/xmalloc.h
index d04f1029..e14d0141 100644
--- a/xmalloc.h
+++ b/xmalloc.h
@@ -14,21 +14,14 @@
* called by a name other than "ssh" or "Secure Shell".
*/
-/* RCSID("$OpenBSD: xmalloc.h,v 1.6 2001/06/26 06:33:07 itojun Exp $"); */
+/* RCSID("$OpenBSD: xmalloc.h,v 1.7 2001/06/26 17:27:25 markus Exp $"); */
#ifndef XMALLOC_H
#define XMALLOC_H
-/* Like malloc, but calls fatal() if out of memory. */
-void *xmalloc(size_t);
-
-/* Like realloc, but calls fatal() if out of memory. */
-void *xrealloc(void *, size_t);
-
-/* Frees memory allocated using xmalloc or xrealloc. */
-void xfree(void *);
-
-/* Allocates memory using xmalloc, and copies the string into that memory. */
-char *xstrdup(const char *);
+void *xmalloc(size_t);
+void *xrealloc(void *, size_t);
+void xfree(void *);
+char *xstrdup(const char *);
#endif /* XMALLOC_H */