elfctl: tiny style(9) cleanup, use bool where appropriate

This commit is contained in:
Ed Maste 2020-03-02 14:34:26 +00:00
parent 15f8f7200f
commit ba6d70a065

View File

@ -85,12 +85,12 @@ main(int argc, char **argv)
GElf_Ehdr ehdr;
Elf *elf;
Elf_Kind kind;
int ch, fd, editfeatures, retval;
int ch, fd, retval;
char *features;
bool lflag;
bool editfeatures, lflag;
lflag = 0;
editfeatures = 0;
editfeatures = false;
retval = 0;
features = NULL;
@ -105,7 +105,7 @@ main(int argc, char **argv)
break;
case 'e':
features = optarg;
editfeatures = 1;
editfeatures = true;
break;
case 'h':
default: