diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-02-18 03:31:30 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-02-18 03:31:30 +0000 |
commit | 22f992395be7a4da254953588f9c0714eddd2965 (patch) | |
tree | a019a8ddd18bc97e7d86f19a24259753478b164c /libc/stdio | |
parent | e4aa2102cd8026230536a49292e71ced41db1084 (diff) |
dont define _stdio_init if it doesnt do anything
Diffstat (limited to 'libc/stdio')
-rw-r--r-- | libc/stdio/_stdio.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/stdio/_stdio.c b/libc/stdio/_stdio.c index 46277f99e..63fc370dd 100644 --- a/libc/stdio/_stdio.c +++ b/libc/stdio/_stdio.c @@ -250,6 +250,7 @@ void attribute_hidden _stdio_term(void) #endif } +#if defined __STDIO_BUFFERS || !defined __UCLIBC__ void attribute_hidden _stdio_init(void) { #ifdef __STDIO_BUFFERS @@ -263,8 +264,9 @@ void attribute_hidden _stdio_init(void) /* _stdio_term is done automatically when exiting if stdio is used. * See misc/internals/__uClibc_main.c and and stdlib/atexit.c. */ atexit(_stdio_term); -#endif /* __UCLIBC__ */ +#endif } +#endif /**********************************************************************/ |