]> mj.ucw.cz Git - libucw.git/commit
The great type cleanup: Use C99 types where applicable.
authorMartin Mares <mj@ucw.cz>
Fri, 2 Feb 2007 11:08:56 +0000 (12:08 +0100)
committerMartin Mares <mj@ucw.cz>
Fri, 2 Feb 2007 11:08:56 +0000 (12:08 +0100)
commitd407a0f6d1b3730e6d9c15571eacd7da83f5f326
treeb7104e5cbcd2e7ec17128d547cc330a1a352fafa
parentd6d4eda80ef12f9e9f71921d0d4acee2faf0ccb0
The great type cleanup: Use C99 types where applicable.

LibUCW types (u16 and friends) are now based on the C99 <stdint.h> types.

Old-style sbyte, word, sword and addr_int_t are gone (I've removed all refs
to them in the previous commits).

<stddef.h> is now included automatically, bringing types like size_t and
also NULL.

The operations on pointers (GET_P, PUT_P etc.) have been removed from
lib/config.h as nobody uses them and bgetp() is just a duplicate of bgeta()
from lib/fastbuf.h. BYTES_PER_P is gone as well.

#define _GNU_SOURCE had to be moved to lib/config.h, where it belongs anyway.
lib/config.h
lib/lib.h