diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2023-01-06 11:44:59 +0200 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2023-01-06 15:02:21 +0200 |
commit | ab6447fbf1157bdce183cd4af40f93093fda271d (patch) | |
tree | fb7bf8d53279657922bcc60f203ebbda7b90c3db /backend/model-info.c | |
parent | bf2cad5d37a17bcc7563acb84291ea4ffcb06d0c (diff) | |
download | iscan-ab6447fbf1157bdce183cd4af40f93093fda271d.tar.gz |
Use stdbool.h
Fixes issues like:
model-info.c:305:1: error: conflicting types for 'model_info_customise_commands'; have '_Bool(const void *, struct <anonymous> *)'
305 | model_info_customise_commands (const void *self, EpsonCmd cmd)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from model-info.c:69:
model-info.h:135:8: note: previous declaration of 'model_info_customise_commands' with type 'bool(const void *, struct <anonymous> *)'
135 | bool model_info_customise_commands (const void *self, EpsonCmd cmd);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Diffstat (limited to 'backend/model-info.c')
-rw-r--r-- | backend/model-info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/model-info.c b/backend/model-info.c index 5423483..7ef0c68 100644 --- a/backend/model-info.c +++ b/backend/model-info.c @@ -677,12 +677,12 @@ model_info_has_lock_commands (const void *self) return (self_->command->lock && self_->command->unlock); } -scan_area_t +scan_area_t model_info_max_scan_area(const void *self, const char *option, const char *mode) { _model_info_t *self_ = NULL; scan_area_t scan_area; - + require (self); require (option); |