diff options
Diffstat (limited to 'xmalloc.h')
-rw-r--r-- | xmalloc.h | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: xmalloc.h,v 1.12 2006/03/25 22:22:43 djm Exp $ */ | 1 | /* $OpenBSD: xmalloc.h,v 1.13 2006/08/03 03:34:42 deraadt Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -16,9 +16,6 @@ | |||
16 | * called by a name other than "ssh" or "Secure Shell". | 16 | * called by a name other than "ssh" or "Secure Shell". |
17 | */ | 17 | */ |
18 | 18 | ||
19 | #ifndef XMALLOC_H | ||
20 | #define XMALLOC_H | ||
21 | |||
22 | void *xmalloc(size_t); | 19 | void *xmalloc(size_t); |
23 | void *xcalloc(size_t, size_t); | 20 | void *xcalloc(size_t, size_t); |
24 | void *xrealloc(void *, size_t, size_t); | 21 | void *xrealloc(void *, size_t, size_t); |
@@ -27,5 +24,3 @@ char *xstrdup(const char *); | |||
27 | int xasprintf(char **, const char *, ...) | 24 | int xasprintf(char **, const char *, ...) |
28 | __attribute__((__format__ (printf, 2, 3))) | 25 | __attribute__((__format__ (printf, 2, 3))) |
29 | __attribute__((__nonnull__ (2))); | 26 | __attribute__((__nonnull__ (2))); |
30 | |||
31 | #endif /* XMALLOC_H */ | ||