bpf: Replace [u]int32_t and [u]int64_t in libbpf
authorMartin KaFai Lau <kafai@fb.com>
Tue, 24 Jul 2018 15:40:21 +0000 (08:40 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 25 Jul 2018 04:57:55 +0000 (06:57 +0200)
commit5b891af7fca14526b2a87c6f38b004e2df655ef4
tree9710ef3659b4eddc8d1ab40ae5c7ddd177387f16
parent64bb568488671048d25d7b3ada058bb6c7cb1d5d
bpf: Replace [u]int32_t and [u]int64_t in libbpf

This patch replaces [u]int32_t and [u]int64_t usage with
__[su]32 and __[su]64.  The same change goes for [u]int16_t
and [u]int8_t.

Fixes: 8a138aed4a80 ("bpf: btf: Add BTF support to libbpf")
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/lib/bpf/btf.c
tools/lib/bpf/btf.h
tools/lib/bpf/libbpf.c
tools/lib/bpf/libbpf.h