Description: add THROW for nanosleep This fixes a build failure . glibc (2.31-2038.3) UNRELEASED; urgency=medium . [ Arnd Bergmann ] * Import https://github.com/lmajewski/y2038_glibc/commits/y2038_edge * Force-enable time64 * rework a few more times Author: Arnd Bergmann --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: https://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: 2020-03-05 --- glibc-2.31.orig/time/time.h +++ glibc-2.31/time/time.h @@ -311,7 +311,7 @@ extern int __REDIRECT_NTH (clock_settime __THROW. */ extern int clock_nanosleep (clockid_t __clock_id, int __flags, const struct timespec *__req, - struct timespec *__rem); + struct timespec *__rem) __THROW; #ifdef __USE_TIME_BITS64 # if defined(__REDIRECT_NTH)