libtalloc/tests/sanity-tests/replace.h
Steeve Goveas 64f638db0d Enable gating tests for libtalloc
Resolves: rhbz#1962773
2021-05-28 21:12:19 +05:30

6 lines
143 B
C

#include <stdbool.h>
#include <stddef.h>
#include <string.h>
#define PTR_DIFF(p1,p2) ((ptrdiff_t)(((const char *)(p1)) - (const char *)(p2)))