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

#265 closed defect (fixed)

More missed htonX

Reported by: Ralf Corsepius Owned by: Joel Sherrill
Priority: highest Milestone: 2
Component: score Version: unknown
Severity: critical Keywords:
Cc: bugs@… Blocked By:
Blocking:

Description

One more missed htons:

sh-rtems-gcc --pipe -isystem ../../../../../bare/lib/include -DNOPOLL -DNOSELECT -O4 -fomit-frame-pointer -g -Wall -DHZ=40000000 -m1 -o o-optimize/getservent.o -c /users/rtems/src/rtems-cvs/rtems.work/c/src/../../cpukit/libnetworking/libc/getservent.c
/users/rtems/src/rtems-cvs/rtems.work/cpukit/libnetworking/libc/getservent.c: In function `getservent':
/users/rtems/src/rtems-cvs/rtems.work/cpukit/libnetworking/libc/getservent.c:261: warning: implicit declaration of function `htons'

I am not sure if getservent.c is used frequently enough to qualify this bug to be sufficient cause to replace the snapshot.

Release:
RTEMS-CVS

Attachments (1)

pr265.diff (1010 bytes) - added by Ralf Corsepius on 12/03/06 at 13:31:13.
pr265.diff

Download all attachments as: .zip

Change History (2)

comment:1 Changed on 08/09/02 at 11:45:02 by Joel Sherrill

Status: assignedclosed

State-Changed-From-To: open->closed
State-Changed-Why: Fixed. See attached patch.

Changed on 12/03/06 at 13:31:13 by Ralf Corsepius

Attachment: pr265.diff added

pr265.diff

Note: See TracTickets for help on using tickets.