]> granicus.if.org Git - strace/commit
xmalloc.c: introduce xgrowarray helper function
authorEugene Syromiatnikov <esyr@redhat.com>
Tue, 8 Aug 2017 14:36:40 +0000 (16:36 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 14 Dec 2017 00:05:04 +0000 (00:05 +0000)
commit057a8f22744fac42d82f7afd759a969c18adfc69
tree3ef19684ecc8fa9ebf903f63096723654d0fc577
parentd55a53c75880718e46aef7ef0d971b8a15a7f0be
xmalloc.c: introduce xgrowarray helper function

In order to simplify dynamic array management code.

* xmalloc.h (xgrowarray): New declaration.
* xmalloc.c (xgrowarray): New function.
xmalloc.c
xmalloc.h