Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

Ticket #381: patch

File patch, 557 bytes (added by eric.valette, on 12/03/06 at 13:31:13)

patch

Line 
1*** rtems-4.6.0pre1/cpukit/libcsupport/src/newlibc.c~   Thu Oct 31 21:16:34 2002
2--- rtems-4.6.0pre1/cpukit/libcsupport/src/newlibc.c    Thu Apr  3 18:10:07 2003
3***************
4*** 128,134 ****
5   
6  #ifdef __GNUC__
7    /* GCC extension: structure constants */
8!   *ptr = (struct _reent) _REENT_INIT((*ptr));
9  #else
10    /*
11     *  WARNING: THIS IS VERY DEPENDENT ON NEWLIB!!!
12--- 128,134 ----
13   
14  #ifdef __GNUC__
15    /* GCC extension: structure constants */
16!   _REENT_INIT_PTR((ptr));
17  #else
18    /*
19     *  WARNING: THIS IS VERY DEPENDENT ON NEWLIB!!!