summaryrefslogtreecommitdiffstats
path: root/include/pt-sun.h
Commit message (Collapse)AuthorAgeFilesLines
* libblkid: const qualifier cleanupKarel Zak2018-07-201-2/+2
| | | | | | | | * use "const" in functions where we don't modify arguments * use "const" when cast from const buffer to any struct (superblock etc.) Signed-off-by: Karel Zak <kzak@redhat.com>
* libfdisk: cleanup sun label checksum usuageRuediger Meier2017-06-131-1/+1
| | | | | | | | | | | | | | We are using now the formerly unused function sun_pt_checksum(). This cleanup was motivated by clang compiler warning, see below. Also nice that we are now always using uint16_t instead of short. Warning was: ../libfdisk/src/sun.c:177:35: warning: taking address of packed member 'csum' of class or structure 'sun_disklabel' may result in an unaligned pointer value [-Waddress-of-packed-member] while(ush < (unsigned short *)(&sunlabel->csum)) Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* libblkid: rename in sun_disklabel for compatibility with fdiskKarel Zak2013-03-111-8/+10
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* inlude/pt-sun: add flags and tagsKarel Zak2013-03-111-7/+23
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: move sun PT definition to include/Karel Zak2013-03-111-0/+72
Signed-off-by: Karel Zak <kzak@redhat.com>