On Wed, Feb 19, 2020 at 01:26:32PM +0900, Shin'ichiro Kawasaki wrote: > + /* Iterate partitions skipping the holder device at index 0 */ s/holder/whole/ ? > +extern bool disk_has_partitions(struct gendisk *disk); No need for externs on function prototypes in headers.