summaryrefslogtreecommitdiff
path: root/xmalloc.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-07-04 04:07:12 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-07-04 04:07:12 +0000
commitb4c774cf8878d9100fde92ff4e938671c3b0301b (patch)
treea2dff9a498a7c4cdeddace98c2c34c7a2e3689fb /xmalloc.h
parent16ae3d0dba5f81e5602798b915105284033dea75 (diff)
downloadopenssh-git-b4c774cf8878d9100fde92ff4e938671c3b0301b.tar.gz
- itojun@cvs.openbsd.org 2001/06/26 06:33:07
[servconf.h serverloop.h session.h sftp-client.h sftp-common.h sftp-glob.h sftp-int.h sshconnect.h ssh-dss.h sshlogin.h sshpty.h ssh-rsa.h tildexpand.h uidswap.h uuencode.h xmalloc.h] prototype pedant. not very creative... - () -> (void) - no variable names
Diffstat (limited to 'xmalloc.h')
-rw-r--r--xmalloc.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/xmalloc.h b/xmalloc.h
index 59a598ed..d04f1029 100644
--- a/xmalloc.h
+++ b/xmalloc.h
@@ -14,21 +14,21 @@
* called by a name other than "ssh" or "Secure Shell".
*/
-/* RCSID("$OpenBSD: xmalloc.h,v 1.5 2000/09/07 20:27:56 deraadt Exp $"); */
+/* RCSID("$OpenBSD: xmalloc.h,v 1.6 2001/06/26 06:33:07 itojun Exp $"); */
#ifndef XMALLOC_H
#define XMALLOC_H
/* Like malloc, but calls fatal() if out of memory. */
-void *xmalloc(size_t size);
+void *xmalloc(size_t);
/* Like realloc, but calls fatal() if out of memory. */
-void *xrealloc(void *ptr, size_t new_size);
+void *xrealloc(void *, size_t);
/* Frees memory allocated using xmalloc or xrealloc. */
-void xfree(void *ptr);
+void xfree(void *);
/* Allocates memory using xmalloc, and copies the string into that memory. */
-char *xstrdup(const char *str);
+char *xstrdup(const char *);
#endif /* XMALLOC_H */