Rev 4921 | Rev 6074 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4921 | Rev 6068 | ||
---|---|---|---|
Line 20... | Line 20... | ||
20 | #include |
20 | #include |
21 | #include |
21 | #include |
22 | #include |
22 | #include |
23 | #include "local.h" |
23 | #include "local.h" |
Line -... | Line 24... | ||
- | 24 | ||
- | 25 | int __gui_mode; |
|
24 | 26 | ||
25 | int |
27 | int |
26 | _DEFUN(_printf_r, (ptr, fmt), |
28 | _DEFUN(_printf_r, (ptr, fmt), |
27 | struct _reent *ptr _AND |
29 | struct _reent *ptr _AND |
28 | const char *__restrict fmt _DOTS) |
30 | const char *__restrict fmt _DOTS) |
Line 53... | Line 55... | ||
53 | va_end (ap); |
55 | va_end (ap); |
54 | return ret; |
56 | return ret; |
55 | } |
57 | } |
Line 56... | Line 58... | ||
56 | 58 | ||
- | 59 | #endif /* ! _REENT_ONLY */ |
|
- | 60 | ||
- | 61 | extern int __gui_mode; |
|
- | 62 | ||
- | 63 | extern void __attribute__ ((constructor)) __init_conio(); |
|
- | 64 | static void __attribute__ ((constructor)) init_printf() |
|
- | 65 | { |
|
- | 66 | __gui_mode = (int)&__init_conio; |