libbtrfsutil: add stub for reallocarray
authorDavid Sterba <dsterba@suse.com>
Thu, 22 Feb 2018 11:45:14 +0000 (12:45 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 6 Mar 2018 10:28:37 +0000 (11:28 +0100)
commite0d173c6c44d52287f2e20ec104cb3840e558343
treee62f10a19d4381703b6420884d699b04bbeab264
parent624e0233e09a034a0b8a6da445f725706ef2d9f8
libbtrfsutil: add stub for reallocarray

This function is new in glibc 2.26 and breaks build in CI and possibly
other environments.

Signed-off-by: David Sterba <dsterba@suse.com>
Makefile
configure.ac
libbtrfsutil/stubs.c [new file with mode: 0644]
libbtrfsutil/stubs.h [new file with mode: 0644]
libbtrfsutil/subvolume.c