]> git.ipfire.org Git - thirdparty/systemd.git/commit
test-sizeof: print pointer sizes 16955/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 4 Sep 2020 16:32:43 +0000 (18:32 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 4 Sep 2020 16:45:44 +0000 (18:45 +0200)
commitd11578f30e297e51d52f8784b907b6c2ae034240
tree46c8902a5a65b2d657889f42dc30d8da7b30e743
parenta9030b81c154c3ec92227d04cad6b13cc1125608
test-sizeof: print pointer sizes

This is useful information, I don't know why we forgot to add it there.

gcc doesn't like arithemetic on a pointer to a function or void*, so don't
print signedness info there. It doesn't matter anyway.
C says function pointers can be different... Though I guess our code isn't
prepared for that.
src/test/test-sizeof.c