File:  [DVB] / dietlibc / lib / errno_location.c
Revision 1.5: download - view: text, annotated - select for diffs
Thu Feb 1 02:03:39 2018 UTC (6 years, 4 months ago) by leitner
Branches: MAIN
CVS tags: HEAD
split off stackgap-g.o, don't compile valgrind stuff into stackgap.o,
  diet chooses depending on presence of -g
move stackguard var from .data to .bss
remove gcc 7.3 warning from lib/__v_printf.c

#include <sys/tls.h>
#include <threads.h>
#include <errno.h>
#undef errno
#include <errno_definition.h>

// int *__errno_location(void) __attribute__((weak));
__attribute__((weak)) int *__errno_location(void) { return &errno; }


LinuxTV legacy CVS <linuxtv.org/cvs>