#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 Dec 3, 2006 at 1:31:13 PM.
pr265.diff

Download all attachments as: .zip

Change History (2)

comment:1 Changed on Aug 9, 2002 at 11:45:02 AM by Joel Sherrill

Status: assignedclosed

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

Changed on Dec 3, 2006 at 1:31:13 PM by Ralf Corsepius

Attachment: pr265.diff added

pr265.diff

Note: See TracTickets for help on using tickets.