libfdisk: (gpt) fix compiler warnings [-Wformat]

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk: add stuff for unit tests

Signed-off-by: Karel Zak <kzak@redhat.com>
fdisk: fix typo

Signed-off-by: Karel Zak <kzak@redhat.com>
fdisk: correctly initialize pointer to sun label

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk: fix gpt status, don't use xcalloc() in library

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk: add "ask" interface

Signed-off-by: Karel Zak <kzak@redhat.com>
fdisk: add callback for ask-numbers API

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