aboutsummaryrefslogtreecommitdiff
path: root/posix/sleep.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-02-07 09:03:02 +0100
committerFlorian Weimer <fweimer@redhat.com>2019-02-07 09:03:02 +0100
commit8311c83f91a3127ccd2fe684e25bc60c5178d23b (patch)
tree795aaabcfdd4b0be64899c653ea74e930be34c3e /posix/sleep.c
parent94b63e66206a9ad38872a9136a623ce73cf7c858 (diff)
downloadglibc-8311c83f91a3127ccd2fe684e25bc60c5178d23b.tar
glibc-8311c83f91a3127ccd2fe684e25bc60c5178d23b.tar.gz
glibc-8311c83f91a3127ccd2fe684e25bc60c5178d23b.tar.bz2
glibc-8311c83f91a3127ccd2fe684e25bc60c5178d23b.zip
array_length: Make usable as a constant expression
Do not use a statement expression in array_length, so that array_length can be used at file scope and as a constant expression. Instead, put the _Static_assert into a struct (as a declaration), and nest this in the expression using a sizeof expression.
Diffstat (limited to 'posix/sleep.c')
0 files changed, 0 insertions, 0 deletions