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

Replace u32 and u64 by standard compliant uint32_t, uint64_t



Hi all,

I'd like to get rid of the mixture non-standard typedefs u32, u64 with
standard-compliant uint32_t, uint64_t.

Some examples: negotiate() in nbd-client.c, ntohll() in cliserv.c or
send_export_info() in nbd-server.c.


AFAIK u32, u64 came originally from Linux kernel source but in the NBD
source exists an additional declaration in cliserv.h which might be also
misleading on some architectures, so I'd like to change the whole code
base to use standard types.

What do you think?

I also have a patch & github merge request in petto, but it depends on
the former "const void*" patch, so I'd wait for its landing first. :-)

Greetings,

		Lars R.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


Reply to: