err.c: add attribute_noreturn to static functions
err.c: add attribute_noreturn to static functions

while there, remove unneeded pthread.h

Signed-off-by: Peter S. Mazinger <1f4071d9f342c1637b13af9bc258f2ff72e96758@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <ce1ac9e9ad16abccd7821f371ad381197b4768ac@gmail.com>

foss-for-synopsys-dwc-arc-processors/uClibc,brgl/uclibc-ng,ddcc/klee-uclibc-0.9.33.2,mephi42/uClibc,waweber/uclibc-clang,hjl-tools/uClibc,kraj/uclibc-ng,hwoarang/uClibc,ffainelli/uClibc,ddcc/klee-uclibc-0.9.33.2,hwoarang/uClibc,groundwater/uClibc,groundwater/uClibc,foss-xtensa/uClibc,czankel/xtensa-uclibc,ffainelli/uClibc,groundwater/uClibc,brgl/uclibc-ng,mephi42/uClibc,waweber/uclibc-clang,kraj/uclibc-ng,foss-xtensa/uClibc,czankel/xtensa-uclibc,hwoarang/uClibc,majek/uclibc-vx32,wbx-github/uclibc-ng,foss-xtensa/uClibc,wbx-github/uclibc-ng,czankel/xtensa-uclibc,ddcc/klee-uclibc-0.9.33.2,kraj/uClibc,hjl-tools/uClibc,kraj/uClibc,foss-xtensa/uClibc,kraj/uClibc,majek/uclibc-vx32,ffainelli/uClibc,groundwater/uClibc,ddcc/klee-uclibc-0.9.33.2,wbx-github/uclibc-ng,foss-for-synopsys-dwc-arc-processors/uClibc,mephi42/uClibc,hjl-tools/uClibc,foss-for-synopsys-dwc-arc-processors/uClibc,waweber/uclibc-clang,foss-for-synopsys-dwc-arc-processors/uClibc,czankel/xtensa-uclibc,waweber/uclibc-clang,mephi42/uClibc,ffainelli/uClibc,wbx-github/uclibc-ng,majek/uclibc-vx32,majek/uclibc-vx32,brgl/uclibc-ng,groundwater/uClibc,hjl-tools/uClibc,kraj/uClibc,brgl/uclibc-ng,ffainelli/uClibc,hjl-tools/uClibc,kraj/uclibc-ng,hwoarang/uClibc,kraj/uclibc-ng