[Libguestfs] [PATCH] daemon/Win32: provide htonl, htons, ntohl, ntohs functions.

Jim Meyering jim at meyering.net
Thu Nov 26 11:41:42 UTC 2009


Richard W.M. Jones wrote:
> This is another candidate for gnulib ...

Yes, indeed.

...
> +static inline uint16_t
> +htons (x)
> +     uint16_t x;
> +{

Using old-style function definitions like this is odd,
but then I realized this was probably copied from glibc.

Did you have to make any changes?

ACK.




More information about the Libguestfs mailing list