elfctl: tiny style(9) cleanup, use bool where appropriate
This commit is contained in:
parent
15f8f7200f
commit
ba6d70a065
@ -85,12 +85,12 @@ main(int argc, char **argv)
|
|||||||
GElf_Ehdr ehdr;
|
GElf_Ehdr ehdr;
|
||||||
Elf *elf;
|
Elf *elf;
|
||||||
Elf_Kind kind;
|
Elf_Kind kind;
|
||||||
int ch, fd, editfeatures, retval;
|
int ch, fd, retval;
|
||||||
char *features;
|
char *features;
|
||||||
bool lflag;
|
bool editfeatures, lflag;
|
||||||
|
|
||||||
lflag = 0;
|
lflag = 0;
|
||||||
editfeatures = 0;
|
editfeatures = false;
|
||||||
retval = 0;
|
retval = 0;
|
||||||
features = NULL;
|
features = NULL;
|
||||||
|
|
||||||
@ -105,7 +105,7 @@ main(int argc, char **argv)
|
|||||||
break;
|
break;
|
||||||
case 'e':
|
case 'e':
|
||||||
features = optarg;
|
features = optarg;
|
||||||
editfeatures = 1;
|
editfeatures = true;
|
||||||
break;
|
break;
|
||||||
case 'h':
|
case 'h':
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user