]> andersk Git - openssh.git/blobdiff - xmalloc.h
- djm@cvs.openbsd.org 2006/03/25 00:05:41
[openssh.git] / xmalloc.h
index 7ac4b13d64c972588a81535eff6b90cb7609f526..b6d521a66db30ed7b8eaf03b85ebb61e804be10a 100644 (file)
--- a/xmalloc.h
+++ b/xmalloc.h
@@ -1,4 +1,4 @@
-/*     $OpenBSD: xmalloc.h,v 1.9 2002/06/19 00:27:55 deraadt Exp $     */
+/*     $OpenBSD: xmalloc.h,v 1.10 2006/03/25 00:05:41 djm Exp $        */
 
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
 #define XMALLOC_H
 
 void   *xmalloc(size_t);
+void   *xcalloc(size_t, size_t);
 void   *xrealloc(void *, size_t);
 void     xfree(void *);
 char   *xstrdup(const char *);
+int     xasprintf(char **, const char *, ...)
+                __attribute__((__format__ (printf, 2, 3)))
+                __attribute__((__nonnull__ (2)));
 
 #endif                         /* XMALLOC_H */
This page took 0.05559 seconds and 4 git commands to generate.