See T1681: tests/t-lock.c: In function ‘main’: warning: implicit declaration of function ‘getpid’ // warning: ‘i’ may be used uninitialized in this function