[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]