]> granicus.if.org Git - strace/commit
Simplify getllval ifdefery
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 26 Dec 2016 16:54:31 +0000 (16:54 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 26 Dec 2016 16:54:31 +0000 (16:54 +0000)
commit4e29ada8464ea30ae43ae42a389c5237e49e66c7
treec8e1d9ea49a55d4c5a418bf5d302e647c85760d0
parentb5db9917f37a3548813d0bb3ded7b42de01df72b
Simplify getllval ifdefery

The demise of HAVE_STRUCT_TCB_EXT_ARG opens the way for a simpler
implementation.

* util.c (getllval): Merge [SIZEOF_LONG > 4
&& SIZEOF_LONG == SIZEOF_LONG_LONG]
and [SIZEOF_KERNEL_LONG_T > SIZEOF_LONG] cases
into a single [SIZEOF_KERNEL_LONG_T > 4] case.
util.c