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

#486 closed defect (fixed)

Doubtful code in cpukit/libcsupport/src/newlibc.c

Reported by: Ralf Corsepius Owned by: Joel Sherrill
Priority: lowest Milestone: 2
Component: score Version: 4.6
Severity: normal Keywords:
Cc: bugs@…, ralf.corsepius@… Blocked By:
Blocking:

Description

cpukit/libcsupport/src/newlibc.c contains this:

#if defined(RTEMS_UNIX) && !defined(hpux)
#define NEED_SETVBUF
#endif

#ifdef NEED_SETVBUF
#include <stdio.h>
#endif

..

#include <stdio.h>

AFAIS, all the #ifdefs are unnecessary and can be reduced to a single #include <stdio.h>

Release:
RTEMS-4.6 + RTEMS-CVS

Change History (2)

comment:1 Changed on 09/09/03 at 12:11:43 by Joel Sherrill

Status: assignedwaiting

comment:2 Changed on 02/04/04 at 19:45:15 by Ralf Corsepius

Status: waitingclosed

State-Changed-From-To: feedback->closed
State-Changed-Why: Changed long time ago.

Note: See TracTickets for help on using tickets.