From cc07f2350dc260a2a4eaf4ff05f32939c55a9893 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Thu, 25 Jan 2001 21:19:46 +0000 Subject: Clean up atexit.c; make sure sysconf and atexit agree; link in ref'd libgcc.a objects with shared uClibc; allow disabling long long support. --- libc/unistd/sysconf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/unistd/sysconf.c') diff --git a/libc/unistd/sysconf.c b/libc/unistd/sysconf.c index d5c6f6b9d..032311378 100644 --- a/libc/unistd/sysconf.c +++ b/libc/unistd/sysconf.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include @@ -658,8 +659,7 @@ long int sysconf(int name) #endif case _SC_ATEXIT_MAX: - /* See stdlib/atexit.c */ - return 20; + return __UCLIBC_MAX_ATEXIT; case _SC_PASS_MAX: /* We have no limit but since the return value might be used to -- cgit v1.2.3