diff options
author | 2009-06-07 08:39:13 +0000 | |
---|---|---|
committer | 2009-06-07 08:39:13 +0000 | |
commit | 57003866bf9d794e291e4f346ca84d4e954c9f0d (patch) | |
tree | 31172ec207533c30e0dfb757d0e9c20d8a1bf39c /usr.bin/diff/xmalloc.h | |
parent | Document the gconf2 module. (diff) | |
download | wireguard-openbsd-57003866bf9d794e291e4f346ca84d4e954c9f0d.tar.xz wireguard-openbsd-57003866bf9d794e291e4f346ca84d4e954c9f0d.zip |
More cvs/diff/rcs convergence:
1. Mostly variable/function renaming, SIZE_T_MAX->SIZE_MAX, and
spacing.
2. One strchr -> strncspn.
3. diff had a weird thing where it set file[12] = ofile[12] but
never updated file or ofile, then if file and ofile were different
it freed it. I removed it.
OK millert
Diffstat (limited to 'usr.bin/diff/xmalloc.h')
-rw-r--r-- | usr.bin/diff/xmalloc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/diff/xmalloc.h b/usr.bin/diff/xmalloc.h index 1a17ac107d8..f348ba23c33 100644 --- a/usr.bin/diff/xmalloc.h +++ b/usr.bin/diff/xmalloc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: xmalloc.h,v 1.1 2007/05/29 18:24:56 ray Exp $ */ +/* $OpenBSD: xmalloc.h,v 1.2 2009/06/07 08:39:13 ray Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -20,6 +20,7 @@ #define XMALLOC_H void *xmalloc(size_t); +void *xcalloc(size_t, size_t); void *xrealloc(void *, size_t, size_t); void xfree(void *); char *xstrdup(const char *); |