Commit 14c4b984 authored by Aurelio Colosimo's avatar Aurelio Colosimo

fix compilation of htonl/htons wrappers: was misspelled

parent e40d6dc0
...@@ -202,16 +202,12 @@ __attribute__((alias("posix_net_shutdown"))); ...@@ -202,16 +202,12 @@ __attribute__((alias("posix_net_shutdown")));
extern UInteger32 posix_htonl(UInteger32 hostlong) extern UInteger32 posix_htonl(UInteger32 hostlong)
{ {
/* FIXME: compile (link) fails (arch 64 bit) return htonl(hostlong);
* return hotnl(hostlong); */
return 0; /* FIXME */
} }
extern UInteger16 posix_htons(UInteger16 hostshort) extern UInteger16 posix_htons(UInteger16 hostshort)
{ {
/* FIXME: compile (link) fails (arch 64 bit) return htons(hostshort);
* return hotns(hostlong); */
return 0; /* FIXME */
} }
UInteger32 pp_htonl(UInteger32 hostlong) UInteger32 pp_htonl(UInteger32 hostlong)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment