cfdisk: add libfdisk independent debug stuff

Now it's possible to use
	CFDISK_DEBUG=0xffff ./cfdisk
to debug only cfdisk UI.

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk: clean up API (context.c)

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk: clean up API (alignment.c)

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk: cleanup fdisk_is_label stuff

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk: cleanup label geometry API

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk: make it possible to get fields for all labes

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk: (gpt) allow to specify attr bit by API

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk: move get_parttypes to label API

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk: final parttype API cleanup

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk: more docs

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk: fdisk_label_is_labeltype()

Signed-off-by: Karel Zak <kzak@redhat.com>
cfdisk: use only public libfdisk API

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk: add geometry to API, cleanup

Signed-off-by: Karel Zak <kzak@redhat.com>
fdisk: use libfdisk public API only

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk: move fdisk_ask_partnum() to API

Signed-off-by: Karel Zak <kzak@redhat.com>
fdisk: add independent debug stuff

Signed-off-by: Karel Zak <kzak@redhat.com>
cal: add const function attributes

Reference: http://lwn.net/Articles/285332/
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
cal: prefer defined constant rather than magic values

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
libuuid: add extern qualifiers to system header

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
include: simplify fputc_careful() in carefulputc.h

New version of comparisions does the same thing as the old version
without being quite as difficult to understand.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>