diff options
author | 2015-11-12 16:30:30 +0000 | |
---|---|---|
committer | 2015-11-12 16:30:30 +0000 | |
commit | 6f793eeffb48a4b8243f4c7f1f5be1ea245ea571 (patch) | |
tree | b4f77c7ff6bf24f9f78b2b114d6ed8ee56eee6d7 /usr.bin/diff/xmalloc.h | |
parent | Avoid problems with pathological input during edit operations. i.e. never (diff) | |
download | wireguard-openbsd-6f793eeffb48a4b8243f4c7f1f5be1ea245ea571.tar.xz wireguard-openbsd-6f793eeffb48a4b8243f4c7f1f5be1ea245ea571.zip |
Remove xfree()'s prototype. tedu@ removed its definition a few weeks
ago. Pointed out by Ricardo Mestre.
Diffstat (limited to 'usr.bin/diff/xmalloc.h')
-rw-r--r-- | usr.bin/diff/xmalloc.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/diff/xmalloc.h b/usr.bin/diff/xmalloc.h index d4aa769f552..21396717fa4 100644 --- a/usr.bin/diff/xmalloc.h +++ b/usr.bin/diff/xmalloc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: xmalloc.h,v 1.3 2015/04/29 04:00:25 deraadt Exp $ */ +/* $OpenBSD: xmalloc.h,v 1.4 2015/11/12 16:30:30 mmcc Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -22,7 +22,6 @@ void *xmalloc(size_t); void *xcalloc(size_t, size_t); void *xreallocarray(void *, size_t, size_t); -void xfree(void *); char *xstrdup(const char *); int xasprintf(char **, const char *, ...) __attribute__((__format__ (printf, 2, 3))) |